tor-browser

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

arguments-is-empty.js (577B)


      1 // Copyright (C) 2015 the V8 project authors. All rights reserved.
      2 // This code is governed by the BSD license found in the LICENSE file.
      3 /*---
      4 es6id: 21.1.2.2
      5 description: >
      6  The the arguments list is empty, an empty string is returned.
      7 info: |
      8  String.fromCodePoint ( ...codePoints )
      9 
     10  1. Let result be the empty String.
     11  2. For each element next of codePoints, do
     12    ...
     13  3. Assert: If codePoints is empty, then result is the empty String.
     14  4. Return result.
     15 features: [String.fromCodePoint]
     16 ---*/
     17 
     18 assert.sameValue(String.fromCodePoint(), '');
     19 
     20 reportCompare(0, 0);