tor-browser

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

array-pattern-with-no-elements.js (543B)


      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 /*---
      5 es6id: 13.3.3
      6 description: >
      7  The ArrayBindingPattern with no elements
      8 info: |
      9  Destructuring Binding Patterns - Syntax
     10 
     11  ArrayBindingPattern[Yield] :
     12    [ Elisionopt BindingRestElement[?Yield]opt ]
     13    [ BindingElementList[?Yield] ]
     14    [ BindingElementList[?Yield] , Elisionopt BindingRestElement[?Yield]opt ]
     15 features: [destructuring-binding]
     16 ---*/
     17 
     18 function fn([]) {}
     19 
     20 reportCompare(0, 0);