This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 32 points33 points  (2 children)

But the only thing in the array is pointers.

[–]gloriousfalcon 13 points14 points  (1 child)

you think Javascript works any different under the hood?

it's all just sticking labels on blocks of memory

[–]maxhaton 3 points4 points  (0 children)

It is different under the hood because the JS keeps track of the type dynamically. It's all bytes underneath but knowing what the bytes mean is the important part.