tor-browser

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

15.3.3.2-1.js (541B)


      1 // Copyright (c) 2012 Ecma International.  All rights reserved.
      2 // This code is governed by the BSD license found in the LICENSE file.
      3 
      4 /*---
      5 es5id: 15.3.3.2-1
      6 description: Function.length - data property with value 1
      7 ---*/
      8 
      9 var desc = Object.getOwnPropertyDescriptor(Function, "length");
     10 
     11 assert.sameValue(desc.value, 1, 'desc.value');
     12 assert.sameValue(desc.writable, false, 'desc.writable');
     13 assert.sameValue(desc.enumerable, false, 'desc.enumerable');
     14 assert.sameValue(desc.configurable, true, 'desc.configurable');
     15 
     16 reportCompare(0, 0);