본문 바로가기

taenyLog

검색하기
taenyLog
프로필사진 taenyLog

  • 분류 전체보기 (117)
    • LIFE (0)
      • CANADA (0)
    • English (26)
      • 일빵빵 (26)
    • Web (91)
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
  • 영어
  • 몽고
  • 메서드
  • 백엔드
  • Mongoose
  • JavaScript
  • Udemy
  • 유데미
  • 회화
  • 오류
  • JS
  • 자바스크립트
  • 해결
  • 공부
  • 노드js
  • 대본
  • 몽구스
  • 웹
  • node
  • 미드
  • 일빵빵
  • 노드
  • mongo
  • 웹개발
  • 부트캠프
  • nodejs
  • 에러
  • 터미널
  • 프렌즈
  • 명령어
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리
반응형

목록확장 (1)

반응형

taenyLog

JavsScript | super

class pet { constructor(name, age) { this.name = name; this.age = age; } eat() { return `${this.name} is eating`; } } class cat extends pet { meow() { return "mEWOOOOE"; } eat() { return `${this.name} cat eating food`; } } class dog extends pet { constructor(name, age, livesLeft = 10) { super(name, age); this.livesLeft = livesLeft; } bark() { return "VARKRKRRKK"; } } super 키워드가 super 클래스의 참조 항목이..

Web 2023. 6. 20. 09:02
이전 Prev 1 Next 다음

Blog is powered by kakao / Designed by Tistory

티스토리툴바