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

Don't wrap primitive values in strict mode #173

Closed
bashor opened this issue Apr 20, 2015 · 1 comment
Closed

Don't wrap primitive values in strict mode #173

bashor opened this issue Apr 20, 2015 · 1 comment
Labels
Strict Mode Issues related to non-compliance with the ES5 Strict Mode spec

Comments

@bashor
Copy link

bashor commented Apr 20, 2015

function test() {
    "use strict";

    var foo = function() {
        return this
    }

    return foo.call(1) === 1
}

`test()` returns `false` on Rhino, but expected `true`
@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
Copy link
Collaborator

Duplicates #940

@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

2 participants