Using JavaScript Strict Mode

Поділитися
Вставка
  • Опубліковано 19 гру 2024

КОМЕНТАРІ • 21

  • @rotrose7531
    @rotrose7531 4 роки тому

    I am so lucky to find your channel on youtube, ever since all things changed. Thank you.

  • @spatz7576
    @spatz7576 5 років тому +3

    The last line of code shouldn't fail. You were confused by a mistake at 11:18. Function f1 has already been defined before let.

    • @SteveGriffith-Prof3ssorSt3v3
      @SteveGriffith-Prof3ssorSt3v3  5 років тому

      Yes. I was just trying to show that you could write it as a function declaration or as a function expression. Either way would allow you to overwrite the older version of the function.

  • @lingyundai964
    @lingyundai964 4 роки тому +1

    I love the way you explain things it is very intuitive

  • @pixzelplethora9815
    @pixzelplethora9815 5 років тому

    This will help me learn. "use strict"; Thank you.

  • @RonWaller
    @RonWaller 5 років тому +2

    So is that where linting comes in to catch errors before you run the program and then get errors?

  • @kieranbarker1902
    @kieranbarker1902 4 роки тому

    Great video as always, Steve. Thanks!

  • @maksymantoshkin2896
    @maksymantoshkin2896 5 років тому +4

    Hello, as always great video! Remember you suggested me "You don't know JS" book series? That was absolutely awesome 😊👍😊👍, I learned a lot new things, thank you. Maybe you could suggest a book or any resource to learn advanced Node.jd? I would greatly appreciate it.

    • @SteveGriffith-Prof3ssorSt3v3
      @SteveGriffith-Prof3ssorSt3v3  5 років тому +1

      Advanced NodeJS really depends on what you are meaning by that. Being an expert JavaScript developer will make you a better Node developer. If you read, understood and can apply everything you read in "You Don't Know JS" then you will be a very good JS and NodeJS developer. Beyond that it is just learning the different modules that are available in Node for working with Streams, File System, database, and different protocols (the things you don't do much of in the browser)

  • @sery152
    @sery152 4 роки тому +1

    Thanks, good video.
    But I think the last part with let is wrong, I checked and the reassingment is working.

  • @chesterxp508
    @chesterxp508 3 роки тому

    Another very cool tutorial!

  • @tengun
    @tengun 5 років тому

    So even if we already have a function named f1, we can still declare a new variable named f1? Then, the function became inaccessible?

  • @Dev-ry9cx
    @Dev-ry9cx 5 років тому

    Ahh now i get what this Strict mode is !

  • @JamesFraley
    @JamesFraley 5 років тому

    Very informative!

  • @samuelmatheson9655
    @samuelmatheson9655 5 років тому +2

    Yeah, thanks, but no thanks. i like my sloppy mode XD

  • @damo190
    @damo190 3 роки тому

    U said, line 42 fails. But it works fine. I couldn't understand what u r trying to say here.

  • @umoooo
    @umoooo 3 роки тому

    thx