re: 13 useful JavaScript array tips and tricks you should know VIEW POST


Nice article! I loved the fifth tip


It's interesting - but what would be a use case for such an object?

{0: “banana”, 1: “apple”, 2: “orange”, 3: “watermelon”, 4: “apple”, 5: “orange”, 6: “grape”, 7: “apple”}

It's still indexed like an array, but is no longer a real array.

Code of Conduct Report abuse