Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
function add(...theArgs){
var result = 0;
for(let i=0;i<theArgs.length;i++){
result = result + theArgs[i];
return result;
var r = add(6,9,3,2);
var t = add(7,56,9);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.