tor-browser

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

15.4.3.2-0-4.js (793B)


      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 esid: sec-array.isarray
      6 description: Array.isArray return false if its argument is not an Array
      7 ---*/
      8 
      9 assert.sameValue(Array.isArray(42), false, 'Array.isArray(42) must return false');
     10 assert.sameValue(Array.isArray(undefined), false, 'Array.isArray(undefined) must return false');
     11 assert.sameValue(Array.isArray(true), false, 'Array.isArray(true) must return false');
     12 assert.sameValue(Array.isArray("abc"), false, 'Array.isArray("abc") must return false');
     13 assert.sameValue(Array.isArray({}), false, 'Array.isArray({}) must return false');
     14 assert.sameValue(Array.isArray(null), false, 'Array.isArray(null) must return false');
     15 
     16 reportCompare(0, 0);