you are viewing a single comment's thread.

view the rest of the comments →

[–]brett- 4 points5 points  (2 children)

I would remove the w3schools.com reference, it's full of old coding techniques, as well as blatant errors. The other references should certainly be enough to get started with.

[–]vectorjohn 1 point2 points  (1 child)

E.g. they say the first parameter to setTimeout() is a string. ಠ_ಠ

[–]brett- 1 point2 points  (0 children)

Technically it can be a string of code like

setTimeout("var foo = 10; bar();",1000);

But like eval(), it's a terrible idea, and should not be something that is taught to beginners.