Kanon icon indicating copy to clipboard operation
Kanon copied to clipboard

Objects referred by overwritten property are removed from output graph.

Open akiou opened this issue 7 years ago • 1 comments

When I write the following program and the cursor position is at last line, there must be 3 array objects([1,2,3], [2,4,6], [1,4,9]) in the visualization pane created during the program execution. But, the second array object([2,4,6]) is not appeared in the pane.

let obj = new Object();
let arr = [1,2,3];

obj.arr = arr.map(e => e + e);
obj.arr = arr.map(e => e * e);

akiou avatar Sep 21 '17 07:09 akiou

This is because the object ids of the second array object([2,4,6]) and third array object([1,4,9]) are assigned 'new1-1-arr'.

akiou avatar Sep 21 '17 07:09 akiou