en.javascript.info
en.javascript.info copied to clipboard
Update WeakMap and WeakSet: object reference is stored in array
Earlier sentence:
the object previously referenced by john is stored inside the array
But the object itself is not stored in the array. Its reference gets stored in the array.
Updated sentence:
the object previously referenced by john is still referenced by the first element in the array