Created
May 19, 2018 17:30
-
-
Save khg0712/a3428c04676c7b2a56ccbd700c76472f to your computer and use it in GitHub Desktop.
arguments 객체에 apply 메서드를 통한 표준 배열 메서드 사용 예시
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
function myAdd(){ | |
console.dir(arguments); | |
Array.prototype.shift.apply(arguments); | |
console.dir(arguments); | |
} | |
myAdd(1,2,3,4); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment