This repository contains the starter code for your JavaScript assignment.
- Clone the repository to your local machine.
- Complete the functions in
index.js
. - Run the file using Node.js to test the functions.
- add(a, b): Returns the sum of
a
andb
. - subtract(a, b): Returns the difference between
a
andb
. - multiply(a, b): Returns the product of
a
andb
. - divide(a, b): Returns the quotient of
a
andb
. Handles division by zero.
node index.js