본문 바로가기

강백호같은개발자

검색하기
강백호같은개발자
프로필사진 쨜리

  • 분류 전체보기 (20)
    • - 배움은 개발을 거들뿐(TIL) (16)
    • - 뜨거운 코드를 가르며 (3)
    • - Nerd에게 가고이쒀 (0)
    • - 개발...좋아하세요? (0)
Guestbook
Notice
  • 이 블로그에 관하여...
Recent Posts
Recent Comments
Link
«   2025/06   »
일 월 화 수 목 금 토
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
Tags
  • 스택
  • math.pow
  • pseudocode
  • 깃헙
  • falsy
  • jsx
  • SUPER
  • 함수선언식
  • stack
  • javascirpt
  • 함수표현식
  • ReactDOM
  • reduce
  • 수도코드
  • 각자리수
  • 제곱함수
  • props
  • github
  • CLONE
  • Til
  • render
  • while
  • 객체지향프로그래밍
  • pair
  • ES6
  • State
  • JavaScript
  • 자료구조
  • react
  • 페어프로그래밍
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록ES6 (1)

강백호같은개발자

TIL(20/06/18) ES6 : class와 super in JavaScript

ES6 : class와 super in JavaScript ES5에서 클래스를 만들고 상속받는 상황을 코드로 한번 보자. var Human = function(name){ this.name = name; } Human.prototype.sleep = function(){ console.log(this.name + ' is sleeping...'); }; var steve = new Human('steve'); var Student = function(){ Human.call(this, name); // Human.apply(this. arguments) } Student.prototype = Object.create(Human.prototype); Student.prototype.constructor =..

- 배움은 개발을 거들뿐(TIL) 2020. 6. 18. 08:13
Prev 1 Next

Blog is powered by kakao / Designed by Tistory

티스토리툴바