본문 바로가기

검색하기
프로필사진

  • 분류 전체보기 (69)
    • 개발 관련 유용한 아이템들 (4)
    • 2021 프론트 엔드 로드맵 따라가기 (65)
      • 인터넷 (2)
      • CSS (7)
      • Sass (0)
      • JS (56)
      • Git (0)
      • Package Manager (0)
      • Linters & Fotmatters (0)
    • 이건 어떻게 ? (0)
    • NoSQL (0)
    • Diary (0)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   2025/05   »
일 월 화 수 목 금 토
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
  • css
  • 무료 백엔드 배포
  • module wrapper function
  • Object.create
  • close together
  • Express
  • Node.js
  • flexbox
  • select by attribute
  • flex-basis
  • Sass
  • img 확대
  • css 오버레이
  • express-handlebars
  • improve-iq-by-up-to-10%!
  • css grid
  • regExp
  • just-one-small-sip
  • es6
  • flex-shrink
  • ajax
  • 정규표현식
  • Engoo
  • flex-grow
  • 디자인패턴
  • Prototype
  • css variables
  • node
  • shit-christmas
  • JS
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록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
Prev 1 Next

Blog is powered by kakao / Designed by Tistory

티스토리툴바