Skip to content

Instantly share code, notes, and snippets.

@AdrianSkar
Created September 2, 2018 11:01
Show Gist options
  • Save AdrianSkar/a5f72f0b2892ed086f36cb42477c6366 to your computer and use it in GitHub Desktop.
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
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