What are Static methods in JavaScript

preview_player
Показать описание
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🔥🔥🔥

seekknowledge
Автор

I have been trying to figure this out for a few hours now. You explained very clearly! Thank you

leasj
Автор

The way you explain is a very calm and to the point manner

sanchitgupta
Автор

Great explanation sir, Thank you so much, I watched multiple videos but was still struggling. Your video was very simple and easy to understand.

harshparadkar
Автор

Very good explanation! You also have a calming voice.

mnsko-qsvl
Автор

Love this. As simple and neat as ever!!!

onyekastephen
Автор

A complex concept nicely explained in simple terms. Great job, thanks a lot!

UrmatG
Автор

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 :(

miggu
Автор

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....

conceptresearch
Автор

You have explained this method well Sir, but in what situations will I need to use the Static Method?

jayson
Автор

Thank you a lot :--D ps: I love your english xD

mareksamofal
Автор

A complex concept nicely explained in simple terms. Great job, thanks a lot!

김수홍-rb