Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

does this work with pure es5 as well ? #9

Closed
jhonalino opened this issue Nov 15, 2019 · 1 comment
Closed

does this work with pure es5 as well ? #9

jhonalino opened this issue Nov 15, 2019 · 1 comment

Comments

@jhonalino
Copy link

does this work with pure es5 as well ?

@pvdz
Copy link
Owner

pvdz commented Nov 19, 2019

Tenko has no special ES5 mode.

It should be fine except for the incompatibilities between ES5 and ES6 (like function statements and duplicate object keys), arguably stuff you shouldn't be using to begin with. And probably aren't.

(ES5 is mostly a subset of ES6+. You can read this section for very specific set of incompatibilities. These are mainly about runtime changes. Tenko only cares about syntax so if you don't use any syntax elements from that list then Tenko should be fine to use.)

@pvdz pvdz closed this as completed Nov 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants