/ Published in: JavaScript
just testing snipplr.com
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function sum() { var res = 0; for (var i=0; i < arguments.length; i++) { res += arguments[i]; } return res; }