Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

console object is not correctly displayed #967

Open
sdudnic opened this issue Oct 14, 2022 · 0 comments
Open

console object is not correctly displayed #967

sdudnic opened this issue Oct 14, 2022 · 0 comments

Comments

@sdudnic
Copy link

sdudnic commented Oct 14, 2022

The details of an object in console (with ">Object" pin image) when using console.log(myObject) are not correctly displayed.

When opening the pin, the displayed properties and keys corresponds to last available state of the object, not the state of the object in the time of console.log.

main idea

let x = {a: 1, b: 2, c: 3, d: 4, e: 5};
console.log(x); // when unpinning, should be {a: 1, b: 2, c: 3, d: 4, e: 5}, no z!
x.z = 2000
console.log(x); // only now z should appear

Bug Report

  • Host: EXCEL
  • OS: Windows 10
  • Browser: -
  • Environment: prod

Expected behavior:

as described in comments

Actual behavior:

image

Steps to Reproduce:

open a script in Excel, and do in the main function:

let x = {a: 1, b: 2, c: 3, d: 4, e: 5};
console.log(x); // when unpinning, should be {a: 1, b: 2, c: 3, d: 4, e: 5}, no z!
x.z = 2000
console.log(x); // only now z should appear

Screenshot:

image

@wandyezj wandyezj changed the title console object is not correcly displayed console object is not correctly displayed Apr 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant