Hi,
I was reading documentation @ Destructuring assignment - JavaScript | MDN on Destructuring Assignment to try and understand it better after the freeCodeCamp lesson on it.
My question is, when I was trying some of the Syntax shown from Mozilla to better understand, I get :
const [a, , b] = array;
VM100556:1 Uncaught ReferenceError: array is not defined
at <anonymous>:1:18
I’m don’t see why it doesn’t work as that’s the example shown?
Thanks,
Shawn Wright