es6-interactive-guide
es6-interactive-guide copied to clipboard
Useless example
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.