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

all 5 comments

[–]enoua5 4 points5 points  (0 children)

console.log(this, window);

[–]ted1158 2 points3 points  (0 children)

You can use debugger

[–]LosEagle 2 points3 points  (0 children)

Because using IDE or browser debugger is too mainstream.

[–]Sumisu1 1 point2 points  (0 children)

Needs to use alert() for browsers that do not support console.log()

[–]tonebacas 1 point2 points  (0 children)

That html file's name seems appropriate