SOURCE

let john = { name: "John" };

let array = [ john ];

john = null; // 覆盖引用
console.log(array[0])
console.log(john)
console 命令行工具 X clear

                    
>
console