UNPKG

test-my-npm-fey

Version:
30 lines (22 loc) 452 B
const { greet } = require('./tools/greet'); const aNewFunction = () => { return 'A new Function!'; }; module.exports = { count(num, num2, method) { if (method === "ADD") { return num + num2; } if (method === "SUB") { return num - num2; } if (method === "MULT") { return num * num2; } }, greet, aNewFunction, test() { return 'Testing a new function'; }, };