Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 31 |
Tags
- lexical scope
- 호이스팅
- lexical environment
- activation object
- BIND
- function 문
- webstorm
- scope chain
- react-router
- function 표현식
- hoisting
- 함수 표현식
- variable object
- vs code
- 객체
- type
- moment.js
- 자바스크립트
- Arrow function
- Execution Context
- 리액트 라우터
- 정적스코프
- function
- 함수
- 실행컨텍스트
- JavaScript
- 화살표 함수
- happy hacking
- react router
- This
Archives
- Today
- Total
목록arguments (1)
Pandaman Blog

Javascript Arguments arguments객체는 함수에 전달된 인수에 해당하는 Array 형태의 객체입니다. MDN문서에서는 arguments객체를 위와 같이 설명합니다. 저는 문서를 보고 전달된 인수를 Array형태의 객체로 갖고 있는 것일까? 하고 생각이 들었습니다. 문서를 더 보니 It has entries for each argument the function was called with, with the first entry's index at 0라고 나와 있습니다. 한마디로 함수가 호출될 때 파라미터를 arguments객체에 담아 놓는 것입니다. 자 그럼 간단하게 확인해보겠습니다. const f1 = function(a, b, c){ console.log(arguments); } ..
Front end/Javascript
2020. 1. 14. 22:01