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
In this case, you’re attaching the property to the array, and while arrays are objects that can have properties, in JSON, the stringify algorithm ignores those.
If you have an object at the top level, then you can stick properties on that.
This repo is not for general javascript help, however - it’s for our javascript style guide - so I’m closing the issue.
Hi ,
I have one doubt in stringify an object.
In input is below:
My expected output:
But the results are:
"__used" param removed. is any alternate function available to stringify an object.
Thanks in advance.
The text was updated successfully, but these errors were encountered: