Skip to content
This repository was archived by the owner on Oct 3, 2026. It is now read-only.
401-advanced-javascript-jsPublic archive

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

LAB - 01

Node Ecosystem

Author: Student/Group Name

Links and Resources

Modules

arithmetic.js

arithmetic methods: add, subtract, multiply, divide
add(number, number) -> number

add(1, 4) -> 5

subtract(number, number) -> number

subtract(5, 2) -> 3

multiply(number, number) -> number

multiply(2, 6) -> 12

divide(number, number) -> number

divide(12, 6) -> 2 divide(3, 0) -> null

Setup

Running the app

  • npm start

Tests

  • How do you run tests?

    npm test

  • What assertions were made?

    multiply and divide methods, tests for arithmetic and greet

  • What assertions need to be / should be made?

    refactoring of add, subtract and multiply methods

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages