Created
August 30, 2019 14:32
-
-
Save djD-REK/06014d45e25c3ea5c04ca7f053c98a9b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
console.log(Number("7") - 7 == 0); // true | |
console.log(Number("7") - 7 === 0); // true | |
console.log(Number("7") - 7 === Number("0")); // true | |
console.log("7" - 7 == "0"); // true | |
console.log("7" - 7 === "0"); // false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment