JSPlaygrounds icon indicating copy to clipboard operation
JSPlaygrounds copied to clipboard

Const declarations are not supported in strict mode

Open KK7NZY opened this issue 8 years ago • 0 comments

Using editor in Safari Version 9.1.2 throws SyntaxError: Unexpected keyword 'const'. Const declarations are not supported in strict mode.

Switched over to using var but ES6 not working. Using arrow function throws: SyntaxError: Unexpected token '>''

Chrome works great!

KK7NZY avatar Jul 28 '16 21:07 KK7NZY