Thank you for reading. 😊 I am not sure about exact reason to name it like this. I guess because arrays are supposed to be contiguous and sparse means scattered that's why they are called sparse.
To answer your second question. Empty is not a data type. And this hole is represented as empty in chrome browser. I think safari has different way to show this.
I've been coding with javascript for a long time but didn't know about this at all. Thanks for broadening my knowledge!
More questions:
Looking forward to more such articles.
Thank you for reading. 😊 I am not sure about exact reason to name it like this. I guess because arrays are supposed to be contiguous and sparse means scattered that's why they are called sparse.
To answer your second question. Empty is not a data type. And this hole is represented as
empty
in chrome browser. I think safari has different way to show this.Oh I see. Thanks for your help! :)