ycliper

Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
Скачать

JavaScript Classes vs Prototypes

MAD9014

MAD9022

web development

JavaScript

JS

MAD9135

web dev

javascript classes

javascript prototypes

keyword this

javascript this

js this

js class

js prototype

constructor functions

super method

constructor method

javascript concepts

es6

es2015

esnext

extends keyword

javascript extends

js extends

js super

javascript super

Автор: Steve Griffith - Prof3ssorSt3v3

Загружено: 2019-07-22

Просмотров: 64613

Описание: This tutorial discusses the differences in syntax between creating objects in javascript with the class keyword or with the prototype methods.
Examples are given of doing the exact same things with both versions.
It is important to understand that the class syntax is being interpreted as using the prototype syntax and that CLASSES do NOT exist in JavaScript.

Completed Code GIST: https://gist.github.com/prof3ssorSt3v...

Code Note: line 50 should be
Object.setPrototypeOf(EmployeeP.prototype, PersonP.prototype); //extends
We are setting the prototype of EmployeeP's prototype to link to the prototype of PersonP.

Не удается загрузить Youtube-плеер. Проверьте блокировку Youtube в вашей сети.
Повторяем попытку...
JavaScript Classes vs Prototypes

Поделиться в:

Доступные форматы для скачивания:

Скачать видео

  • Информация по загрузке:

Скачать аудио

Похожие видео

Understanding the JavaScript Prototype Chain

Understanding the JavaScript Prototype Chain

What are JavaScript Generators and Iterators?

What are JavaScript Generators and Iterators?

STOP Using Classes In JavaScript | Prime Reacts

STOP Using Classes In JavaScript | Prime Reacts

Visually Understanding JavaScript Prototypes

Visually Understanding JavaScript Prototypes

What is __proto__ ? | Javascript Prototypes Tutorial

What is __proto__ ? | Javascript Prototypes Tutorial

ВЕСЬ JavaScript в одном собеседовании. 200 вопросов + 70 задач за 2 часа

ВЕСЬ JavaScript в одном собеседовании. 200 вопросов + 70 задач за 2 часа

Можно ли поменять родину так быстро? / вДудь

Можно ли поменять родину так быстро? / вДудь

JavaScript для начинающих 2024. Полный курс за 6 часов. Уроки. Теория + практика

JavaScript для начинающих 2024. Полный курс за 6 часов. Уроки. Теория + практика

5 JavaScript Concepts You HAVE TO KNOW

5 JavaScript Concepts You HAVE TO KNOW

Ten Steps to Mastering the Fetch API

Ten Steps to Mastering the Fetch API

© 2025 ycliper. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]