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 |
Tags
- Prototype
- just-one-small-sip
- shit-christmas
- select by attribute
- Object.create
- Express
- flex-shrink
- flexbox
- css grid
- es6
- close together
- 무료 백엔드 배포
- express-handlebars
- module wrapper function
- 정규표현식
- 디자인패턴
- flex-basis
- img 확대
- Engoo
- ajax
- css
- Node.js
- css variables
- improve-iq-by-up-to-10%!
- node
- Sass
- regExp
- JS
- css 오버레이
- flex-grow
Archives
- Today
- Total
목록Class (1)
ES6 class
앞서 공부했던 OOP의 개념을 ES6에서는 class를 이용해 문법적 이득(syntatic sugar)을 취하며 구현할 수 있다. 물론 prototype 기반으로 작동하며 원리 또한 거의 비슷하다. class Person { constructor(firstName, lastName, dob) { this.firstName = firstName; this.lastName = lastName; this.birthday = new Date(dob); } greeting() { return `Hello there ${this.firstName} ${this.lastName}`; } calculateAge() { const diff = Date.now() - this.birthday.getTime(); const..
2021 프론트 엔드 로드맵 따라가기/JS
2021. 6. 5. 18:10