Skip to content
This repository was archived by the owner on Apr 14, 2021. It is now read-only.

"Uncaught SyntaxError: Unexpected strict reserved word" #277

Open
bitbay opened this issue May 9, 2017 · 0 comments
Open

"Uncaught SyntaxError: Unexpected strict reserved word" #277

bitbay opened this issue May 9, 2017 · 0 comments

Comments

@bitbay
Copy link

bitbay commented May 9, 2017

In older browsers like "Android 4" (pre-kitkat) and Google Chrome 12.0.x (haven't tested the "up-to" value) Intl.js throws

Uncaught SyntaxError: Unexpected strict mode reserved word

first at #L4 ("global") and then at #L412 ("extends"). At this point i stopped counting...

Since the library's intention is exactly to back-port a modern functionality to older browsers, this issue should be addressed.

Current workaround is to remove the statement "use strict"; from the distribution script.
Will this hatch any dragons in Intl.js?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant