608 Views
Learn how to destructure array and object properties into variables in JavaScript. The destructing syntax allows us to extract multiple values based on the property name from objects or arrays. // Destructing array var num = [1,2,3,4,5]; var [a, b] = num;
0 comments