3 ms·
is-even implementation: > 'use strict'; > var isOdd = require('is-odd'); > module.exports = function isEven(i) { > return !isOdd(i); > };
by JohnMakin 16d ago
is-even implementation:
> 'use strict';
> var isOdd = require('is-odd');
> module.exports = function isEven(i) {
> return !isOdd(i);
> };
- d3Xt3r 16d agoI thought you were joking, but then I checked the code... holy shit, it is real. Surely the author's gotta be trolling, right?