JavaScript Object create method

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


Рекомендации по теме
Комментарии
Автор

You just clear all the concept in first 32 seconds for me .

fahadhafeez
Автор

I'm shelling out 3 grand a year for tuition in India. If I had a teacher like you, I might end up declaring bankruptcy just to keep up with the laughter and the learning!

MohammadAbrar-txfc
Автор

Best Professor, thank you, Professor Steve.

akshayaparida
Автор

nice tutorial cleared concept very quicly

SonuKumar-twoi
Автор

thankyou very good and it helped so much

rubygreen
Автор

Hi Steve, I keep getting undefined when I console.log the 2nd parameter. I copied your code. Any thoughts? Thanks.

dinnerchiahao
Автор

let monsterFactory = {
name: 'nikhil',
age: 209,
}

let thing = Object.create(monsterFactory, {});
console.log(thing.ag);

let theThing = Object.create( thing, {
moreThings:{
fail: false,
marks: 'high',
meritList: 1,
},
facts :{
fail: true,
marks: 'high',
meritList: 2,
}
});
console.log(theThing);

Why do i get output as undefined? Please help

nikhilupadhyay
Автор

I dont understand how obj3 printed the fullname and canBowl value properties.

yamacode
Автор

I will suggest first you clear your concepts

abhikumar