node package manager
Don’t reinvent the wheel. Reuse code within your team. Create a free org »


math_example package

The following functions are available in the math_example package.

  • addition adds two numbers and returns the result.

  • subtraction subtracts the second number from the first.

  • multiplication multiplies the first and second numbers and returns the result.

  • division divides the first number by the second number and returns the result.

  • fibonacci returns the nth fibonacci number