Skip to content

Instantly share code, notes, and snippets.

@conanak99

conanak99/simpleCall.js Secret

Last active Mar 19, 2016
Embed
What would you like to do?
function test(firstParam, secondParam, thirdParam){
var args = Array.apply(null, arguments);
console.log(args);
}
test(1, 2, 3); // [1, 2, 3]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment