Last active
September 12, 2018 11:14
-
-
Save manekinekko/9fa0e3499c6d5ad08ebba1aace88b870 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
// astuce #1 | |
var args = [].slice.call(arguments, 0); | |
// astuce #2 | |
[].forEach.call(arguments, ( x => /* expression */ ) ); | |
// astuce #3 | |
const args = Array.from(arguments); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment