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

-strict does not seem to work #564

Closed
yeguixin opened this issue May 29, 2019 · 1 comment
Closed

-strict does not seem to work #564

yeguixin opened this issue May 29, 2019 · 1 comment
Labels
Strict Mode Issues related to non-compliance with the ES5 Strict Mode spec

Comments

@yeguixin
Copy link

yeguixin commented May 29, 2019

When executing the following script (named test.js) using command "rhino1.7.9-1.7.9.jar -strict test.js"

var a = function(){
    print(this);
}
a();

Outputs:
[object global]

This illustrates that "-strict" dose not work.

@rbri
Copy link
Collaborator

rbri commented Jul 5, 2020

Duplicates #940

@p-bakker p-bakker added the Strict Mode Issues related to non-compliance with the ES5 Strict Mode spec label Jun 29, 2021
@p-bakker p-bakker closed this as not planned Won't fix, can't repro, duplicate, stale Jul 15, 2024
@github-project-automation github-project-automation bot moved this to Done in v2.0.0 Aug 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Strict Mode Issues related to non-compliance with the ES5 Strict Mode spec
Projects
Status: Done
Development

No branches or pull requests

3 participants