0
[a,,b] = [1,2,3]

I can't seem to find anything about it on MDN, google was not very helpful either.

2
  • 9
    it is called: destructuring assignment Commented Mar 14, 2018 at 12:26
  • Yes, it is the thing, tanks Commented Mar 14, 2018 at 12:28

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.