The Static Keyword in JavaScript

Поділитися
Вставка
  • Опубліковано 17 жов 2024
  • #webdev #codetok #webdevelopmen #oop #learningtocode #codenewbie #tipsandtricks #javascript #objectorientedprogramming

КОМЕНТАРІ • 6

  • @richochet
    @richochet 7 місяців тому

    Thank you Richard 👏🏼👏🏼

  • @sdawdwadaufyuaiudi2148
    @sdawdwadaufyuaiudi2148 3 місяці тому +1

    learn something today but it will be forgot soon ,shit my brain

    • @mohdhanif8115
      @mohdhanif8115 Місяць тому

      it's normal 😂. but you understand it. that's enough.

  • @ravidubey6817
    @ravidubey6817 3 місяці тому

    Can we also make that getWage function as static? It same as Java using static variable using the same syntax ClassName.properry

  • @moneyfr
    @moneyfr 7 місяців тому

    how get the value of a promise i only see exemple with .then(e => console.log(e))
    i always get a promise but not a value

    • @richardbray
      @richardbray  7 місяців тому

      So the e is the value, you can assign it to a variable or manipulate it in the then block of the code. Does that make sense?