Skip to content

sindresorhus/math-sum

Repository files navigation

math-sum

Sum numbers

Install

npm install math-sum

Usage

import mathSum from 'math-sum';

mathSum(5, 5);
//=> 10

mathSum([1, 2, 3, 4]);
//=> 10

Related