How can you find if two numbers are equal without using comparative operators.
Anonymous
For equal numbers, function will return true else output would be false. function equal(a,b){ return !(a-b); } var x = equal(3,3); console.log(x);
Check out your Company Bowl for anonymous work chats.