Why does alert (1 # 2) pop up 2?

Why does alert (1 pop up 2) pop up 2? What is the reason

Mar.16,2021

1. As long as "| |" is preceded by false, no matter "| |" is followed by true or false, the result returns the value after "| |".

2. As long as "| |" is preceded by true, no matter "| |" is followed by true or false, the result returns the value before "| |".

3. As long as "& &" is preceded by false, no matter whether it is followed by true or false, the result will return the value before "& &";

4. As long as "& &" is preceded by true, whether it is followed by true or false, the result will return the value after "& &";


because 1 = = true, the value after & & is returned

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-1b3ad73-2b9c2.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-1b3ad73-2b9c2.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?