MCPcopy Create free account
hub / github.com/Open-Bootcamp/JavaScript-Basico / suma

Function suma

sesion-08-funciones/declaracion-funciones.js:58–60  ·  view source on GitHub ↗
(...nums)

Source from the content-addressed store, hash-verified

56/////
57
58function suma(...nums) {
59 return nums.reduce((a, b) => a + b)
60}
61
62const s = suma(1, 2, 3, 4, 9, 15, 16)
63

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected