JavaScript Tutorial for Beginners - 20 - Objects Part 3

preview_player
Показать описание
In this video we continue on with objects.
Рекомендации по теме
Комментарии
Автор

I think the orc is supposed to eat when his stomach is not full
Orcs from today...pretty weird creatures

patrasculucian
Автор

Wow! Excellent...you know, sometime ago I tried watching some "great educator" from online-Harvard teaching the same concept for C++ and at the end, I blanked out. I am still waiting for the punch line blah, blah... Now, the world is so clear and easy to understand that I can't thank you enough. (send your Bitcoin wallet, you deserve getting pay, Educator.)

chillrain
Автор

after newAge you have to insert orc.age = newAge - and all is fine

eckhardstretzel
Автор

When i didn't assign the value "true" to "stomachFull" orc.age didn't print the value "26" but when i declared the value of "stomachFull" "true" it printed the Value of "age". Why??

satyamdograreallife
Автор

i have 2 questions
1- why do i get 262 instead of 28
2- are we supposed to write orc for object or can we write some other name too like student, school etc ?

aibeads
Автор

In some tutorials i found that they are using new keyword

var a=new object();

What is this and how is it different from name: value pair?

siddhartharao
Автор

can you please tell me why you use semicolon

nabeelrafiq
Автор

turns out that javascript is very sensitive when it comes to syntax. Any simple syntax error like, or ; forgotten will not run the script but is there any Javascript debugger. UFT has its own debugger to detect errors in its VB script

ammarsadeq
Автор

above code is not running my notepad++

rayalaprashanth
Автор

Why Can't we Amend the values inside of a function??

satyamdograreallife
Автор

What's the difference between document.write and console.log?

ftm
Автор

can we use ? s(); ? instead of function() ???

UmairAli