JavaScript Tutorial for Beginners - 21 - Objects Part 4

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

Best JavaScript tutorials on the web. I have been reading Jon Duckett's text over JavaScript and hit a brick wall on objects. You cleared up the subject matter for me. Thanks.

micahsmith
Автор

After watching your videos I feel so much more confident in my programming ability. Its so hard to find quality tutorials. Thank you so much EJ Media :D

neddie
Автор

I have been watching your series video from HTML-CSS, and now is Javascript. They are very helpful and I would say your explanation is really clear and understandable, much better than my programming professor. However, is there any possible that you can do some C# series so that I can follow you to an hand on board level? I really really expect that~

nan-
Автор

Cool videos ! Please post more, they are really helpful for a beginner like myself.

dominiquestrauss-kahn
Автор

i have fallen in love with java script thank you for such simple videos

arjunvarma
Автор

Just starting to watch your tutorials is there a way to get the person Inputing the data into the program

shewmon
Автор

Great videos. I have a question. When you add the new obj/property(orc.hair2) don't you have to assign it as a new variable. i.e.. var orc.hair2="red";

damianclarke
Автор

Could you please have a look at my code and explain why in my case -- animal.legs = 6; animal.legs; -- the value still turns out to be 6 although I only declare the property in the last statement? Is the last assigned value stored? I thought the outcome would be 'undefined' since I only declared the property in the last line. Thank you.


var animal = {
color: "black",
size: "small",
fur: "long",
legs: 4,
canSwim: true
}

animal.legs = 2;
animal.legs = "long";
delete animal.legs;
animal.legs = 6;
animal.legs;


document.write(animal.legs);

folloem
Автор

how we are accessing hair2 without declaring it in the object?

rashmikukreti
Автор

i know this comment maybe weird and late so i`m sorry, but why can`t we just directly delete stuff like just using delete button ?

amrkhalaf
Автор

Is there any such thing as dynamic memory allocation using pointers in JavaScript? For example, are data structures like dynamic arrays and linked lists possible?

Monkeyradar
Автор

mr.  EJ...you said you've add hair2 on the object...why it was outside the brackets...I think it became global variable???? whats that thanks!

Project-benc
Автор

So JavaScript lets you fuck up the code pretty easily. I must be careful

patrasculucian