js/src/tests/ecma_5/strict/strict-this-is-not-truthy.js

Wed, 31 Dec 2014 07:53:36 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:53:36 +0100
branch
TOR_BUG_3246
changeset 5
4ab42b5ab56c
permissions
-rw-r--r--

Correct small whitespace inconsistency, lost while renaming variables.

     1 // Any copyright is dedicated to the Public Domain.
     2 // http://creativecommons.org/licenses/publicdomain/
     4 // See bug 630543.
     6 function f() {
     7     "use strict";
     8     return !this;
     9 }
    10 assertEq(f.call(null), true);
    12 reportCompare(0, 0, 'ok');

mercurial