Siddharth Kanojiyasksage.hashnode.dev·Jul 9, 2023Destructring In JavascriptDestructuring assignment is used to unpack value from an array, or properties from the object, into distinct variables Let [x,y] = [7,20] x will be assigned 7 and y, 20 [10,x, ...rest] = [10, 80, 7, 11, 21, 88] x will be 80 rest will be [7,11,21,88] ...2 likes·47 readsJavaScriptAdd a thoughtful commentNo comments yetBe the first to start the conversation.