JavaScript Tutorial For Beginners #28 - Creating a new JavaScript Object

preview_player
Показать описание
Hey ninjas, in this JavaScript tutorial for beginners, we'll make our very own object using the car analogy from the last lesson. I'll show you how to create the object, add properties and methods, and finally how to use the shorthand notation to do this.

As always, if you have any questions, fire away :).

========== JavaScript for Beginners Playlist ==========

========== CSS for Beginners Playlist ==========

========== HTML for Beginners Playlist ==========

========== The Net Ninja ============

========== Social Links ==========

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

You're a great teacher. Everything is clear and easy to understand. Thank you for uploading all these tutorial videos.

GreciaR
Автор

Why on Earth are you not in skill share. I literally browsing through the whole playlist for JS beginner in Skillshare but I end up here in Youtube. So far the best content for JS learner really. Thanks a lot.

upcomng
Автор

This is really excellent. Explained in much details; I think whoever thought javascript was too hard to learn before will change his/her mind after watching your videos. Brilliant teacher, Well done!

Yasmine-puwp
Автор

This was amazing. I've never seen objects so easy to understand.

mattarcarese
Автор

Great tutorial man, quick simple and gets right to the point.

michealbailey
Автор

I'm loving these video tutorials. Just bought a hoodie to show the love. Thank you!

stephendefren
Автор

seriously you are the one ring to rule web development courses. Your tuts are great ah.

syedbaryalay
Автор

one of the best js object explanation I have seen. Greatly appreciated sir.

arnopisspot
Автор

Easy to learn, easy to understand thanks for the lectures. Hope to learn more from you!.
18 Videos to go!! (Road to Front End Web DEsigning)

Sir_Curvine
Автор

Gahhh that slicing sound in the beginning when you have your headphones on to the max HURTS! :(

danlee
Автор

cool videos but can you pls make videos on how to put all we learnt together to form projects like calculator, random password generator etc.

reginaldgideon
Автор

was a lot to take in this episode, but ithink i got the hang of it very soon!

TheFippe
Автор

I have tried removing the semi colon and ran it on the browser ...to my surprise it works even then! What is the use of the semi-colon?

deeproy
Автор

How did you add the code editor with the console window and which code editor are you using? I don't understand !

yusufhowladarcom
Автор

Hi, I would like to ask is it a must to print something out from the function /methods as i had noticed that you would include console.log in the function or setting a value for the function. Is there a way of not printing anything using the method of:

var myCar ={
properties
method

};

hollowmind
Автор

So, how do you constrain the type of an argument, if for example, you only want to accept an integer or enumeration as the argument?

aidengrant
Автор

hi ninja just to clarify, about that
var mycar 2 = {
driver: function() {}
}

so basically it says that, whatever result in the function () will be assign to property name driver right? and the driver will be the property of mycar 2

marlpiece
Автор

Hi! I'm just wondering how come you can just put in myCar.maxSpeed myCar.driver but you have to put a function in myCar.drive. And what is the function doing? please help!

raynalehto
Автор

Shouldn't "speed" and "time" variables used in the function be defined before using them??

swathisreddy
Автор

Hi great videos!!
I have a question. maybe I'm stupid and did something wrong here.
i got the result "undefined" when i make my code like this.

var name = new Object();
name.age = 50;
name.lastName = "Jenny";
name.age = "Johan";
name.eyeColor = "blue";

console.log(name.age);

cant i use name as an variable to be an object or what did i do wrong here?

tobias
welcome to shbcf.ru