I know array values are properties of the particular array object but I just wanted to know whether they are stored in continuous blocks of memory or not.
Asked
Active
Viewed 57 times
0
-
1Yes. Why do you care? – Bergi Jun 04 '17 at 17:05
-
See e.g. https://stackoverflow.com/questions/43855875/how-are-the-js-arrays-internally-resizing and many others – Bergi Jun 04 '17 at 17:05
-
2@Bergi Why do you say "Yes", when it is implementation dependent. – Scott Marcus Jun 04 '17 at 17:09
-
What is reason for "downvote" cast for Question? – guest271314 Jun 04 '17 at 17:23
-
@ScottMarcus Because I've never seen an implementation that's silly enough not to do this – Bergi Jun 04 '17 at 18:00
-
Thanks all guys for helping me – Suyash Srivastava Jun 04 '17 at 19:39
-
Respected Bergi I say that success lies in details so I asked even though I respect you thoughts – Suyash Srivastava Jun 04 '17 at 19:41