
Welcome to Node.js v13.8.0.
Type ".help" for more information.
{a:1}['a'] === 1
false
{a:1}['a'] === 1
true (have not press enter, if press enter it turns to false)
- Version: 13.8
- Platform: Linux
- Subsystem: NA
I tested on Chrome, it always shows false. I'm sure this is a bug.
What steps will reproduce the bug?
Type {a:1}['a'] === 1 in a node console.
How often does it reproduce? Is there a required condition?
Every time.
What is the expected behavior?
The gray font of 'true' in this image should be 'false'!