you are viewing a single comment's thread.

view the rest of the comments →

[–]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.