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.

КОМЕНТАРІ • 17

  • @seekknowledge1928
    @seekknowledge1928 5 місяців тому +1

    Mashallah.. The way you explained is🔥🔥🔥

  • @user-ol3js3qp4z
    @user-ol3js3qp4z Рік тому +3

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

  • @leasj2012
    @leasj2012 9 місяців тому

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

  • @sanchitgupta001
    @sanchitgupta001 Рік тому

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

  • @harshparadkar
    @harshparadkar 8 місяців тому

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

  • @onyekastephen2250
    @onyekastephen2250 Рік тому +1

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

  • @jayson3583
    @jayson3583 Рік тому +5

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

  • @mnsko-qs3vl
    @mnsko-qs3vl 6 місяців тому

    Very good explanation! You also have a calming voice.

  • @bryanfrancis9435
    @bryanfrancis9435 8 місяців тому

    Very clear explanation. Thank you

  • @shubhampatidar5684
    @shubhampatidar5684 11 місяців тому

    thanks buddy

  • @rajbongshi2002
    @rajbongshi2002 Рік тому +1

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

  • @luisgustavo3046
    @luisgustavo3046 Рік тому

    great video, thanjs

  • @miggu
    @miggu 11 місяців тому

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

  • @jiharedconteh4530
    @jiharedconteh4530 10 місяців тому

    Thanks

  • @farazk9729
    @farazk9729 Рік тому

    Thank you.

  • @mareksamofal3929
    @mareksamofal3929 Рік тому

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

  • @UrmatG
    @UrmatG 2 роки тому

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