Mohammed Asadullah Sayeedasdsyd.hashnode.dev·Mar 18, 2023JavaScript Collections - Iterations and DestructuringIteration let x = [1, 'b', a => a + 1]; x.length = 6; for(let i = 0; i<x.length; i++){ console.log(`x: ${x[i]} of type ${typeof(x[i])}`); } Output: in iteration The in keyword skips the undefined entries //i here takes the index values for(cons...94 readsJavaScriptAdd a thoughtful commentNo comments yetBe the first to start the conversation.