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
constx={'hello': 'world'};x['hello']='alien';console.log(x['hello']);// prints 'alien'x={}// fails silently.console.log(x['hello']);// still prints 'alien'
This (correctly) prints 'alien' but may not be apparent to many people. I think this should be at least noted in the example.
The text was updated successfully, but these errors were encountered:
This (correctly) prints
'alien'
but may not be apparent to many people. I think this should be at least noted in the example.The text was updated successfully, but these errors were encountered: