4 ms·
I really wanted to comment suggesting something like this, although I don't know how to do it in any language... Everyone suggested methods of changing the val
by mrmattyboy 9y ago
I really wanted to comment suggesting something like this, although I don't know how to do it in any language...
Everyone suggested methods of changing the value of 'a', but what if the == operator is changed to something that returns true for these comparisons?
- anamexis 9y agoThis is possible in many languages, but not in JavaScript, because it does not support operator overloading.