My first article/video in the series talks about Object Destructuring. The second one, discusses Array Destructuring. The third topic is on writing relaxed JSON. The fourth topic is about using Rest operators.
The topic I have discussed here is Spread Operator that allows you to expand iterables like arrays.
//...Spread operator let arr1 = [1,2,3] let arr2 = [4,5,6] //let numbers = [arr1,arr2] let numbers = [...arr1,...arr2] console.log(numbers); let original = [10,20,30] let copy = [...original] copy = 100 console.log(original,copy);
You can watch the video here