Curious about the speed variations between arrays and objects, I decided to conduct a test involving filling, accessing, and deleting 100,000 items from both. Surprisingly, accessing and filling the array showed minimal difference with only about ~3ms gap. But when it came to deleting, there was a significant delay of 604ms compared to just 10ms for the object (614ms vs 10ms). This made me question my assumption that objects and arrays were essentially the same.
Check out the demo here::