tor-browser

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

cptn-value.js (437B)


      1 // Copyright (C) 2016 the V8 project authors. All rights reserved.
      2 // This code is governed by the BSD license found in the LICENSE file.
      3 /*---
      4 esid: sec-empty-statement-runtime-semantics-evaluation
      5 es6id: 13.4.1
      6 description: Returns an empty completion
      7 info: |
      8  1. Return NormalCompletion(empty).
      9 ---*/
     10 
     11 assert.sameValue(eval(';'), undefined);
     12 assert.sameValue(eval('2;;'), 2);
     13 assert.sameValue(eval('3;;;'), 3);
     14 
     15 reportCompare(0, 0);