3 ms·
Indeed, according to http://www.w3schools.com/js/js_timing.asp http://www.w3schools.com/js/js_timing.asp, the first parameter of setTimeout should be a function
by chmike 13y ago
Indeed, according to http://www.w3schools.com/js/js_timing.asp http://www.w3schools.com/js/js_timing.asp, the first parameter of setTimeout should be a function. I don't know if "_gaq.push(['_trackEvent', '15_seconds', 'read'])" will be treated as a function.
- dreen 13y agoit would be passed into eval()
- mathrawka 13y agoLet's not link to w3schools... (http://www.w3fools.com/ http://www.w3fools.com/) MDN is nice: https://developer.mozilla.org/en-US/docs/Web/API/window.setTimeout https://developer.mozilla.org/en-US/docs/Web/API/window.setT... And if you are using DuckDuckGo... "!js setTimeout" will redirect you to MDN.
- chmike 13y agoThank you very much for the link. I'll use this site from now on. It's sad MDN url is not returned first with a google query.