in

There is a package on npm called “is-even”. Its a functions you call that determines if a number is even. It has 100k weekly downloads. Its source code is on the left hand side of this image. This is real

npm is even
[text] is-even/index.js at master jo… github.com TWEET: master is-even / index.js jonschlinkert run update RR 1 contributor Raw Blame 14 lines (11 sloc) 254 Bytes /*t * is-even «https: //github.com/jonschlinkert * Copyright (C) 2015, 2017, Jon Schlinkert. * Released under the MIT License. */ ‘use strict’; var isodd = require( ‘is-odd’): module. exports = function isEven(i) { return lisOdd(i):

What do you think?

Written by codeitbro

Leave a Reply

Your email address will not be published. Required fields are marked *

GIPHY App Key not set. Please check settings