Changes between Version 1 and Version 2 of Ticket #6411, comment 10


Ignore:
Timestamp:
02/26/2018 03:10:51 PM (2 years ago)
Author:
agiammarchi
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #6411, comment 10

    v1 v2  
    55Because in that case I'd personally would write that as such: 
    66 
    7         `let [, pattern, flags] = regExp.exec(text) || [null, textToRegExp(text)];` 
     7    `let [, pattern, flags] = regExp.exec(text) || [null, textToRegExp(text)];` 
    88 
    99so we can keep the warning on sparse arrays for all other valid cases.