Classes and objects in javascript

preview_player
Показать описание
Welcome to a youtube channel dedicated to programming and coding related tutorials. We talk about tech, write code, discuss about cloud and devops. That’s what we do all day, all year. We roll out a lot of series and videos on our channel.

All the learning resources such as code files, documentations, articles and community discussions are available on our website:

You can find our discord link, github link etc on the above website.

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

This is honestly the best class tutorial I've seen. I just needed to know the syntax but literally, every time I googled it, I would just be confused by people who weren't answering my question. Thank you so much for this video.

flarepaints
Автор

I am a python programmer and wanted to learn javascript basics quickly in 1 day, your videos helped me a lot because you made it from a coder's perspective, simple and right on point. Thank you buddy.

Monika-xher
Автор

Thank you for such a nice video.
class User{
constructor(firstname, lastname, credit, middlename){
this.firstname = firstname;
this.lastname = lastname;
this.credit = credit;
this.middlename = middlename;
}
addMiddleName(middlename){
const fullname = middlename.split(' ');
console.log('New name for adding middlename', fullname);
this.middlename = fullname[1];
console.log(`Updated name: ${this.firstname} ${this.middlename} ${this.lastname}`);
}
}

mayanksati
Автор

"Thank you soooo much for this wonderfull and spoonfeeding series sir", i was confused when i saw the code of angular js or react and... some stuff on them, But these basics will help everyone to go through all the advanced topics on javascript

surendrareddyreddy
Автор

came to watch this again after a few months.
You have to keep revising this stuff :)

developerpranav
Автор

why are you the best teacher in the whole world oh my please tell me how I can explain and communicate like you i wish i can have you in my pocket and you appear and give me explanions that any one can understand you explain so well that there is no need for questions because you answer everything great and everything is understood your very patenice and kind God bless you please never stop you are changing the world

skillfulactor
Автор

Thank you Hitesh 😃


class User {
constructor(fname, mname, lname, salary){
this.firstname = fname;
this.middlename = mname;
this.lastname = lname;
this.salary = salary;
}
fullname() {
return `${this.firstname} ${this.middlename} ${this.lastname} is my fullname`;
}
changename(value) {
const part = value.split(" ");
this.firstname = part[0];
this.middlename = part[1];
this.lastname = part[3];
}
};

pranabacharya
Автор

Just watched a 3 minute ad so that I can contribute a bit to you for providing such an useful course

shivanshsahu
Автор

You are great instructor & explain them well

ForCodingInterview
Автор

What's the difference between ? if yes then which is better way and why
class User {
construct(name){
// do some assignments
}
}
let user = new User()

and

let User = function (){
// do some assignments
}
let user = new User()

santoshe
Автор

Why you have chosen .in domain for your website

cm
Автор

Why do not we use let or const or function keyword in class when we define any function or variable?

nishchay
Автор

why didnt we have to define the arguments in the constructor before using them. how do we ensure encapsulation in javascript(data hiding)

adeleyeadedolapo
Автор

@hitesh, your blog seems not working..!

sukhwindersingh-kzzd
Автор

What is difference between constructor in classes and constructor function in JavaScript?

ishansharma
Автор

i completed my bootcamp on udemy, i didnt know its was you !!

mohd.abdulla
Автор

plss.... help me!!!
At video starting there is a file with name jsonhandle.js and there is no video of that file .. can any one tell me that video... previous videos i am not get that video ... this is continuous ..so can please anyone tell me that previous video...

sudhakarkumar
Автор

Hitesh is back with another video on this lovely js series😍😍🙌🙌🙌

mradulgupta
Автор

As you travel a lot and stays in hotels, have you ever wondered about spying hidden cameras. If yes then You should create a video on how to find out these hidden Cams, or how you tackled such situations

ArjunSingh-uuqz
Автор

yes, same doubt also why? use again getfull name

venkatchalam