size of an object reference in Javascript V8

2019-06-24 19:28发布

问题:

Does anyone know the size of an object reference in Javascript (V8). It's 8 bytes like in C pointers?

Thank you very much.

回答1:

Yes, as I remember it takes 8 bytes. Nowadays it's the optimal size in x64 systems for all pointers/references.