"ECMA스크립트 6"의 두 판 사이의 차이

 
(사용자 3명의 중간 판 3개는 보이지 않습니다)
7번째 줄: 7번째 줄:


==주요 특징==
==주요 특징==
;배열 함수
;화살표 함수 (Arrow Function)
* 함수 표현식을 대체함 "=>"
* 함수 표현식을 대체함 "=>"
* 우변이 표현식인 경우 해당 값 반환
* 우변이 표현식인 경우 해당 값 반환
13번째 줄: 13번째 줄:
* Scope의 this 사용
* Scope의 this 사용


;클래스
;클래스 (Class)
* Prototype 기반 상속
* Prototype 기반 상속
* 부모접근객체 super
* 부모접근객체 super
28번째 줄: 28번째 줄:
* [[문자열 인터폴레이션]] 지원
* [[문자열 인터폴레이션]] 지원


;모듈
;모듈 (Module)
* export default, export *, import
* export default, export *, import
;Map, Set
;프록시 (Proxy)


==같이 보기==
==같이 보기==
35번째 줄: 37번째 줄:
* [[ECMAScript]]
* [[ECMAScript]]


== 참고 자료 ==
==참고==
* https://es6console.com/
* https://es6console.com/
* http://es6-features.org
* http://es6-features.org
* https://gist.github.com/marocchino/841e2ff62f59f420f9d9
* https://gist.github.com/marocchino/841e2ff62f59f420f9d9


[[분류: ES6]]
[[분류: ECMAScript]]
[[분류: ECMAScript]]
[[분류: 2015년]]
[[분류: 2015년]]

2020년 7월 23일 (목) 09:48 기준 최신판

1 개요[ | ]

ECMAScript 2015, ECMAScript 6; ES6
ECMA스크립트 2015, ECMA스크립트 6
http://es6-features.org/ 참조

2 주요 특징[ | ]

화살표 함수 (Arrow Function)
  • 함수 표현식을 대체함 "=>"
  • 우변이 표현식인 경우 해당 값 반환
  • Block으로 된 경우 return 필요
  • Scope의 this 사용
클래스 (Class)
  • Prototype 기반 상속
  • 부모접근객체 super
  • 생성자 메소드 constructor
  • static 메소드 가능
향상된 객체 리터럴
  • 객체상수 생성시 Prototype 설정 가능
  • 숏핸드 지원
  • 메소드, super 호출 가능
템플릿 문자열
모듈 (Module)
  • export default, export *, import
Map, Set
프록시 (Proxy)

3 같이 보기[ | ]

4 참고[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}