4 ms·
If so, the implementation of isEven isn't even right because it assumes anything that isn't an odd number is an even number.
by mannerheim 5y ago
If so, the implementation of isEven isn't even right because it assumes anything that isn't an odd number is an even number.
- Ajedi32 5y agoNo, the code posted in this thread clearly indicates it will raise an exception in such cases.
- mannerheim 5y agoAh, that's right, never mind.