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
- img 확대
- shit-christmas
- css
- flex-grow
- module wrapper function
- 정규표현식
- flexbox
- Engoo
- node
- css variables
- close together
- improve-iq-by-up-to-10%!
- css grid
- flex-shrink
- ajax
- JS
- select by attribute
- express-handlebars
- css 오버레이
- regExp
- Node.js
- es6
- just-one-small-sip
- 디자인패턴
- Express
- 무료 백엔드 배포
- Sass
- Object.create
- Prototype
- flex-basis
Archives
- Today
- Total
목록MAP (1)
ES6 Map, Map 컬렉션 in JS
ES6 에서는 Map이라는 새로운 데이터 구조가 추가되었습니다. 해당 데이터 구조는 키-값 쌍을 저장하며, 그 저장 순서까지도 기억한다고 하네요. 또한 Object Literal과는 다르게 키나 값에 어떠한 타입의(primitive or reference) 데이터가 들어가도 무관하다고 합니다. 아래 코드로 살펴보시죠. // Map: 키-값 쌍을 저장. 삽입순서 또한 기억하는 콜렉션 // 일반 객체 리터럴과는 다르게 primitive or reference type 전부 키 또는 값으로 이용가능하다. const map1 = new Map(); // Set keys const key1 = "string"; const key2 = {}; const key3 = function () { }; // set map..
2021 프론트 엔드 로드맵 따라가기/JS
2021. 6. 16. 11:37