News for hackers. Stuff that matters.
Re:4B If Statements by dfee on Thursday December 28, 2023 @02:35PM (#38797566)
The implementation of is-even is mind blowing (numbing?).

    'use strict';
    
    var isOdd = require('is-odd');
    
    module.exports = function isEven(i) {
      return !isOdd(i);
    };
good thing it declares its dependencies properly!

There are no comments on this comment yet.