Why does typing {} = = [] in the Chrome console report an error, while {} = = {} does not?

clipboard.png

Jun.23,2022

both writing methods are ambiguous, and both will report errors on firefox and report the same mistakes. Because { can be thought of as the beginning of a statement block, or it can be considered the beginning of the literal quantity of an object.

{ is usually parsed as the beginning of a statement block, while chrome {} = = {} does not report an error because chrome has made a little optimization, such as

.
  

you propose a bug to the chrome team

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1c0e685-32be6.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1c0e685-32be6.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?