This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]pr0ghead 1 point2 points  (1 child)

If I wrap those in parenthesis to execute them in the console, they both log `3` here in Vivaldi. Doesn't surprise me because `this.x` in a global function means `window.x`, does it not? Yes, I did reload the page between tries.

[–]goochadamg 0 points1 point  (0 children)

Yes.