We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8758c4b commit c7d2f65Copy full SHA for c7d2f65
1 file changed
general-patterns/avoiding-eval.html
@@ -24,6 +24,8 @@
24
setTimeout(function () {
25
myFunc(1, 2, 3);
26
}, 1000);
27
+// in supported browsers (i.e. not IE)
28
+setTimeout(myFunc, 1000, 1, 2, 3);
29
30
// reference
31
// http://net.tutsplus.com/tutorials/javascript-ajax/the-essentials-of-writing-high-quality-javascript/
0 commit comments