How to Implement Objects and Inheritance in JavaScript

preview_player
Показать описание
Recently JavaScript has become one of the more popular languages used in Web and mobile apps, IoT, and more. But if you come from a traditional, object-oriented language background, you ma find JavaScript - a class-free, loosely typed, prototype-based language - a bit confusing. Not to worry; we're here to make it easy to understand! In this webinar, Infragistics Evangelist DJ Kumar shows you how to implement objects and inheritance in JavaScript, including: objects using the Object.Create() method; prototypes in JavaScript; inheritance between objects; and more!
Рекомендации по теме
Комментарии
Автор

thanks for this tutorial very helpful indeed

musukaasau
Автор

Nice tutorial !!!
Strict mode usage was not correct at 28:32 . Its result was a "SyntaxError: Unexpected string."
Put 'use strict'; and wrap in a function.
(function(){
'use strict';
// your code here
})();

Then it will show up correct error while editing a non writable which will be :-
TypeError: Cannot assign to read only property <prop name>

aberry
welcome to shbcf.ru