Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
supercoder
on Sept 4, 2015
|
parent
|
context
|
favorite
| on:
Show HN: WebGL-powered oscilloscope emulator
SyntaxError: Unexpected use of reserved word 'let' in strict mode
Udo
on Sept 4, 2015
[–]
Are you on Firefox by chance? I discovered this week that Firefox doesn't do ES6 on included <script> files unless you specify an explicit content type enabling it (which in turn breaks things on all other browsers).
m1el
on Sept 4, 2015
|
parent
[–]
It should work in Firefox, there is a workaround specifically for that.
Udo
on Sept 4, 2015
|
root
|
parent
[–]
It does work for me on FF, although it prints an error to console before the workaround kicks in.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: