Return to Snippet

Revision: 14328
at May 30, 2009 11:13 by cfleschhut


Initial Code
function sum() {
	var res = 0;
	for (var i=0; i < arguments.length; i++) {
		res += arguments[i];
	}
	return res;
}

Initial URL

                                

Initial Description
just testing snipplr.com

Initial Title
add up any number of parameters

Initial Tags
javascript, function

Initial Language
JavaScript