What are Static methods in JavaScript
Вставка
- Опубліковано 5 вер 2024
- In this lecture, you will learn what is static method and how to create and use it. Static methods, in simple words, is a method which can be called directly on the class name or function constructor without creating an instance of that class or function constructor.
Mashallah.. The way you explained is🔥🔥🔥
A complex concept nicely explained in simple terms. Great job, thanks a lot!
I have been trying to figure this out for a few hours now. You explained very clearly! Thank you
The way you explain is great.....in a very calm and to the point manner
Great explanation sir, Thank you so much, I watched multiple videos but was still struggling. Your video was very simple and easy to understand.
Love this. As simple and neat as ever!!!
You have explained this method well Sir, but in what situations will I need to use the Static Method?
Very good explanation! You also have a calming voice.
Very clear explanation. Thank you
thanks buddy
8:15 Very helpful video, but you should have shown that where a static function resides ? then It would be a better idea about static method....
great video, thanjs
Actually nice and simple, this is an interesting video so that people can start to understand the prototype inheritance, and the two main ways of achieving a static method for a 'class' , that won't pollute the consecutive instances of generated objects. Now my question is what is the use of static method in javascript if contrary to other programming languages javascript kinda stores methods in a reference (prototype) and therefore saves memory.... I still haven't found the answer to this :(
Thanks
Thank you.
Thank you a lot :--D ps: I love your english xD
A complex concept nicely explained in simple terms. Great job, thanks a lot!