assume the following
const a = { name: 'John Doe', age: 20 };
const b = a;
b
is only assigned the reference of the object from a
. How much memory does this reference value assignment take up?
assume the following
const a = { name: 'John Doe', age: 20 };
const b = a;
b
is only assigned the reference of the object from a
. How much memory does this reference value assignment take up?