Skip to content
New issue

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

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

Already on GitHub? # to your account

Introduce (experimental) Context.VERSION_ECMASCRIPT #1055

Open
p-bakker opened this issue Oct 14, 2021 · 0 comments
Open

Introduce (experimental) Context.VERSION_ECMASCRIPT #1055

p-bakker opened this issue Oct 14, 2021 · 0 comments

Comments

@p-bakker
Copy link
Collaborator

In preparation of moving towards by default running Rhino in an EcmaSscript compliant mode, we need a new Context.VERSION_ECMASCRIPT to be able to use in code to branch/enable/disable certain behaviors

For v1.7.15, if this version is set as the version to use on a Context, a BIG warning should be raised/logged/... that while the Context.VERSION_ECMASCRIPT could be used in v1.7.15, its purpose is to prepare for v2.0.0 and if already starting to use it in v1.7.15 there most likely will be breaking changes between v1.7.15 and v2.0.0

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant