Created
September 2, 2018 11:01
-
-
Save AdrianSkar/a5f72f0b2892ed086f36cb42477c6366 to your computer and use it in GitHub Desktop.
Comparison with the equality operator created by AdrianSkar - https://repl.it/@AdrianSkar/Comparison-with-the-equality-operator
This file contains 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
function testEqual(val) { | |
if (val == 12) { // Change this line | |
return "Equal"; | |
} | |
return "Not Equal"; | |
} | |
// Change this value to test | |
testEqual(10); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment