summaryrefslogtreecommitdiffstats
path: root/js/src/tests/non262/strict/strict-this-is-not-truthy.js
blob: ec1a86837ab32b79a95e626a01d89b5c13eb3587 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// Any copyright is dedicated to the Public Domain.
// http://creativecommons.org/licenses/publicdomain/

// See bug 630543.

function f() {
    "use strict";
    return !this;
}
assertEq(f.call(null), true);

reportCompare(0, 0, 'ok');