A basic way of adding and multiplying numbers in a functions without using any built-in functions. Includes jasmine unit testing. See jasmine documentation here: Getting Started
JASMINE FOR NODE.JS
Add Jasmine to your package.json
npm install --save-dev jasmine
Initialize Jasmine in your project
npx jasmine init
Set jasmine as your test script in your package.json
"scripts": { "test": "jasmine" }
Run your tests
npm test