node package manager
Orgs are free. Discover, share, and reuse code in your team. Create a free org ยป

m_example

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