sum
Calculates the sum of numbers.
- import the method
import { sum } from "nodelpers";
- params
args: number[];
- usage
sum(); // 0
sum(1, 2, 3, 4); // 10
Calculates the sum of numbers.
import { sum } from "nodelpers";
args: number[];
sum(); // 0
sum(1, 2, 3, 4); // 10