function을 선언하는 것은 세가지 방법이 있다. function declaration : 호이스팅이 적용된다.function expression : 호이스팅이 적용되지 않는다.같은 함수를 다른 변수에 선언하고 프로퍼티를 수정하면 모두 영향을 받는다.컴퓨터랭귀지에서
Function Function은 재사용할 수 있는 프로그램 블록이다. Function은 이름을 갖고 있는 선언의 집합이다. 하나의 프로그램은 복수의 Function들로 나눌 수 있다. Function은 호출 되었을때만 실행된다. Function은 파라미터를 입력 받을
Object 기본 Object Property 변경하기 "use strict" object 얼리기 ES6 Object Features.
not Objects Objectsbooleansymbolbigint(future)?null?undeclared?undefind?objectfunction?stringnumberarray?undefined는 타입의 형태를 return 하는 것이 아니라 string 타입
어레이에 원소를 추가하는 펑션을 만들때 한가지 문제점이 있다. 새로운 어레이를 만드는 것이 아니라 기존의 것을 계속 참조한다.이 문제를 해결 하기 위해 ...args 스프레드 오퍼레이터를 사용한다.