Exick wrote:That's what I tried initially too, but failed. Then I realized what I was missing. It's not something that JSLint will catch.
there's an awful lot of leeway that we could go astray in, e.g. some of the semi-colons truly aren't required.
setTimeout should probably technically be a method of an object, etc.
Not to mention there are fixes needed that would require deletion as well.
;=) doesn't cut it, which would be a cute answer, too. which covers the purely syntactic error, i think.