Skip to content

Instantly share code, notes, and snippets.

@Ibro Ibro/for-of-arguments.js
Last active Apr 26, 2017

Embed
What would you like to do?
Using for-of with arguments - Coding Blast - www.codingblast.com
function doSomething(a, b, c) {
for(let arg of arguments) {
console.log(arg);
}
}
doSomething(13, 15, 17);
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.