tor-browser

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

trailing-comma.js (403B)


      1 // Copyright (C) 2016 Jeff Morrison. All rights reserved.
      2 // This code is governed by the BSD license found in the LICENSE file.
      3 /*---
      4 description: >
      5  Check that trailing commas are permitted after spread arguments
      6  in a call expression.
      7 info: http://jeffmo.github.io/es-trailing-function-commas/
      8 author: Jeff Morrison <lbljeffmo@gmail.com>
      9 ---*/
     10 
     11 function foo() {}
     12 foo(...[],);
     13 
     14 reportCompare(0, 0);