Deconstruct array in javascript code example
Example: unpack array into variables javascript
var yourArr = [1, 2, 3]
[one, , three] = yourArray // 2 is ignored
// one == 1 && three == 3
var yourArr = [1, 2, 3]
[one, , three] = yourArray // 2 is ignored
// one == 1 && three == 3