mirror of
https://github.com/Noratrieb/node-package-manager.git
synced 2026-01-14 23:55:00 +01:00
add example npm project
This commit is contained in:
parent
191bf40f82
commit
3d83579417
6 changed files with 112 additions and 1 deletions
6
testing/index.js
Normal file
6
testing/index.js
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
const isEven = require('is-even');
|
||||
const isOdd = require('is-odd');
|
||||
|
||||
const isEvenOrOdd = (x) => isEven(x) || isOdd(x);
|
||||
|
||||
console.log(isEvenOrOdd(5));
|
||||
Loading…
Add table
Add a link
Reference in a new issue