You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if I have an array (or another object) nested in an object, and I make a change to that array using the REPL, then the change does not appear in the Global Environment display UNLESS I collapse/expand the object using the triangle.
Sample code:
varmyObj={arr: [1,2,3],fn: function(val){this.arr.push(val)}}vararr2=[1,2,3]myObj.fn(4)// does not update the display in global environment unless you collapse/expand the surrounding objectarr2.push(4)// updates immediately in global environment
The text was updated successfully, but these errors were encountered:
if I have an array (or another object) nested in an object, and I make a change to that array using the REPL, then the change does not appear in the Global Environment display UNLESS I collapse/expand the object using the triangle.
Sample code:
The text was updated successfully, but these errors were encountered: