On my work computer (Windows 11), the script displays "Is index 0 enumerable? No" and fails to enumerate the array
On my home computer (Windows 10), the script displays "Is index 0 enumerable? Yes" and enumerates the array.
On my home computer (Windows 10), the script displays "Is index 0 enumerable? Yes" and enumerates the array.
Comments
Thanks!
Key at index 0: undefined
Is index 0 enumerable? No
for-in loop:
end
I'm wondering, what security solution are you using? Would it be SentinelOne by any chance?
Array length: 1
Key at index 0: u
Is index 0 enumerable? Yes
for-in loop:
Index: 0, Value: undefined
end
for loop:
Index: 0, Value: undefined
end
here's the code for the above result: https://gist.github.com/sirtwist/27eae047b773990f15ea02c2db0fdb44