Classes and module exports 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.

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

Full course is FREE and will be available here

HiteshChoudharydotcom
Автор

Hi, Just to note if anyone is running node v10 then they may get an error in courseList = [ ]; line don't worry you didn't made a typo 😅. If you get the error, please update your node to the latest version and you will be good to go.

swapnilsinha
Автор

Another wonderful day starts with Hitesh Sir 💐💐💐💐

saurabhkumarmishra
Автор

Watching ur studio tour and notification pops up on screen. Iam here ❤

sivasai
Автор

was looking for this all over the youtube

biikaaa.
Автор

thanks Hitesh, this was very helpful!

polarseltzer
Автор

please also cover Oops concepts like polymorphism, inheritance, abstraction, encapsulation with practical examples

clipforyou-zwbx
Автор

Hi!! Thanks for this video!!!
Greetings from Chile!

sebastianalejandrosanchezp
Автор

Thank you! By your video I found out that I didn't type the S at the end of module.export(s)... I spent 1 hour to figure out what the problem is... XD

Kareszrk
Автор

What if the file we called in user variable using require, if we declared two classes in that file how can we assign it to a single a variable, or please tell me other method of calling the file.

a-sujalagrawal
Автор

hello sir, i am learning your javascript course daily and
i am very happy with this course, but after learning your
javascript which library and framwork require to learn for
work with front-end, back-end and database.

so, please make video on "road map to bacome full stack developer by using js "

nikulnayi
Автор

Amazing tutorial but what advantage does the design choice of making imports like that give?

GX
Автор

Sir, please make one project using classes and objects

gajjalaharsha
Автор

Thank my problem was when i was creating const varibale = require()

The variable was lower case and my module export was upper case.
This is because im use to creating my variables under-case but my classes uppercase

Solution was doing const Variable

Thanks!

sekokhan
Автор

here getinfo is returning an object, when afunction returns object or functions its refernce is copied, so how hitesh.getinfo gives object as output.only is passed right?

saratht
Автор

Can we use nested method inside js class?

Ankitkumar-dyfs
Автор

Hello from Nepal ! I want to ask you if you will upload videos to make a complete course which could be helpful or is it like some part of a udemy course or like a beginners course only?
By the way, I love watching your videos . <3

avisekssarma
Автор

in ES6 you can use export default user;

abdremo
Автор

courseList= [];
^

SyntaxError: Unexpected token =


why this error sir, not able to debug.

asimmohammeddelvi
Автор

🎯 Key Takeaways for quick navigation:

00:00 📚 *Introduction to JavaScript Classes*
- Introduction to the concept of classes in JavaScript.
- Classes as blueprints for creating objects.
- Importance of practical implementation over theoretical knowledge.
02:12 🏗️ *Creating and Working with JavaScript Classes*
- Basics of defining classes in JavaScript using the `class` keyword and curly braces.
- Utilizing the`constructor` method inside a class for object initialization.
- Declaring methods within a class and their functionality without using the `function` keyword.
07:14 📦 *Exporting and Importing JavaScript Classes*
- Exporting a JavaScript class using `module.exports` for access in other files.
- Importing the exported class into another file using `require`.
- Different syntaxes for importing/exporting classes and their relevance in various frameworks/libraries.
10:15 🛠️ *Using JavaScript Classes in Practical Implementation*
- Creating instances of a class using the `new` keyword for object instantiation.
- Initializing object properties using the constructor method.
- Implementing class methods and utilizing them to manipulate object data.
12:51 🔄 *Manipulating and Accessing Data within JavaScriptClasses*
- Retrieving data from class objects and handling arrays of data.
- Demonstrating how to loop through arrays of objects in JavaScript.
- Providing insights into efficient data manipulation and access within classes.

Made with HARPA AI

sankalpshakti
welcome to shbcf.ru