How does it work?

This function is made to return the sum of all numbers in an array, like that:

[0, 1, 2, 3, 4, 5]
//      |
//      v
       15

How to use it?

This function will require 1 argument, which is the array.

Example

Let's do what I showed you before:

JS:

$.sum($.range(5)) // 15

⚠️ Questions?

Don't hesitate to ask your questions ⁉️ in the issue part 😁

results matching ""

    No results matching ""