tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

S15.3.3_A3.js (482B)


      1 // Copyright 2009 the Sputnik authors.  All rights reserved.
      2 // This code is governed by the BSD license found in the LICENSE file.
      3 
      4 /*---
      5 info: Function constructor has length property whose value is 1
      6 es5id: 15.3.3_A3
      7 description: Checking Function.length property
      8 ---*/
      9 assert(Function.hasOwnProperty("length"), 'Function.hasOwnProperty("length") must return true');
     10 assert.sameValue(Function.length, 1, 'The value of Function.length is expected to be 1');
     11 
     12 reportCompare(0, 0);