marijnh / Eloquent-JavaScript

The sources for the Eloquent JavaScript book
https://eloquentjavascript.net
3.01k stars 793 forks source link

Ch. 11 sandbox syntax error #484

Closed leucotic closed 5 years ago

leucotic commented 5 years ago

The sandbox (including with the solution) both give "SyntaxError: Unexpected token function" when you try to run them

leucotic commented 5 years ago

(for the first question - scalpel)

marijnh commented 5 years ago

What browser (and version) are you using?

leucotic commented 5 years ago

Yeah I was thinking that might be the problem. I'm on an old windows 7, I don't think the browser (chrome) has been updated since 2014. (my normal comp is getting parts replaced so I'm using this one temporarily). Just tried it on my phone and it does seem to be working, so this is probably an issue on my end. my bad.