comparison: js/src/tests/ecma_5/strict/strict-this-is-not-truthy.js
js/src/tests/ecma_5/strict/strict-this-is-not-truthy.js
- changeset 0
- 6474c204b198
equal
deleted
inserted
replaced
|
1 // Any copyright is dedicated to the Public Domain. |
|
2 // http://creativecommons.org/licenses/publicdomain/ |
|
3 |
|
4 // See bug 630543. |
|
5 |
|
6 function f() { |
|
7 "use strict"; |
|
8 return !this; |
|
9 } |
|
10 assertEq(f.call(null), true); |
|
11 |
|
12 reportCompare(0, 0, 'ok'); |