Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

sum function in javascript

let sum = (...para) => para.reduce((d,b) => d + b);
 
PREVIOUS NEXT
Tagged: #sum #function #javascript
ADD COMMENT
Topic
Name
2+7 =