es6-interactive-guide icon indicating copy to clipboard operation
es6-interactive-guide copied to clipboard

Useless example

Open ThatScar opened this issue 8 years ago • 0 comments

The line const [w, , ...[, ,z]] = foo; can be converted to const [w, , , ,z] = foo;, which is shorter and more readable. I think there's already enough use of the spread operator being shown, I'd consider this example useless.

ThatScar avatar Mar 04 '17 19:03 ThatScar