Prototypal inheritance - Basic JavaScript Fast (21) | __proto__, hasOwnProperty

preview_player
Показать описание

Playlist of my JavaScript course

Playlist of my HTML5 and CSS3 tutorials

Playlist of my algorithm walkthrough

Playlist of my Java course

Playlist of my Java examples

#javascripttutorial #javascripttutorialforbeginners #begincodingfast #javascript #prototype
Рекомендации по теме
Комментарии
Автор

I want to know Suppose we want to add the string apple to a property called name in an object called fruits. What code do we need to write?
fruits.name = apple; or fruits['name'] = 'apple';

ahmedaz
visit shbcf.ru