Last active
April 26, 2017 04:57
-
-
Save Ibro/3f1cbb2b887141939d99843f757fe71b to your computer and use it in GitHub Desktop.
Using for-of with arguments - Coding Blast - www.codingblast.com
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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