Using JavaScript Strict Mode

  Рет қаралды 6,380

Steve Griffith - Prof3ssorSt3v3

Steve Griffith - Prof3ssorSt3v3

Күн бұрын

Пікірлер: 21
@rotrose7531
@rotrose7531 4 жыл бұрын
I am so lucky to find your channel on youtube, ever since all things changed. Thank you.
@lingyundai964
@lingyundai964 4 жыл бұрын
I love the way you explain things it is very intuitive
@spatz7576
@spatz7576 5 жыл бұрын
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.
@chesterxp508
@chesterxp508 3 жыл бұрын
Another very cool tutorial!
@pixzelplethora9815
@pixzelplethora9815 5 жыл бұрын
This will help me learn. "use strict"; Thank you.
@kieranbarker1902
@kieranbarker1902 4 жыл бұрын
Great video as always, Steve. Thanks!
@maksymantoshkin2896
@maksymantoshkin2896 5 жыл бұрын
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 жыл бұрын
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)
@RonWaller
@RonWaller 5 жыл бұрын
So is that where linting comes in to catch errors before you run the program and then get errors?
@SteveGriffith-Prof3ssorSt3v3
@SteveGriffith-Prof3ssorSt3v3 5 жыл бұрын
Exactly
@sery152
@sery152 4 жыл бұрын
Thanks, good video. But I think the last part with let is wrong, I checked and the reassingment is working.
@SteveGriffith-Prof3ssorSt3v3
@SteveGriffith-Prof3ssorSt3v3 4 жыл бұрын
With let you can reassign but not redeclare. Strict mode makes var work in the same way
@JamesFraley
@JamesFraley 4 жыл бұрын
Very informative!
@Dev-ry9cx
@Dev-ry9cx 5 жыл бұрын
Ahh now i get what this Strict mode is !
@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?
@samuelmatheson9655
@samuelmatheson9655 5 жыл бұрын
Yeah, thanks, but no thanks. i like my sloppy mode XD
@SteveGriffith-Prof3ssorSt3v3
@SteveGriffith-Prof3ssorSt3v3 5 жыл бұрын
Ok. I'll allow it. As long as you're using a linter.
@damo190
@damo190 3 жыл бұрын
U said, line 42 fails. But it works fine. I couldn't understand what u r trying to say here.
@SteveGriffith-Prof3ssorSt3v3
@SteveGriffith-Prof3ssorSt3v3 3 жыл бұрын
I left off the "let" at the start of line 42. That is what would make it fail.
@umoooo
@umoooo 3 жыл бұрын
thx
Hoisting with var vs let (and const)
9:31
Steve Griffith - Prof3ssorSt3v3
Рет қаралды 14 М.
Deep Copying vs Shallow Copying
13:35
Steve Griffith - Prof3ssorSt3v3
Рет қаралды 23 М.
Real Man relocate to Remote Controlled Car 👨🏻➡️🚙🕹️ #builderc
00:24
бабл ти гель для душа // Eva mash
01:00
EVA mash
Рет қаралды 7 МЛН
Family Love #funny #sigma
00:16
CRAZY GREAPA
Рет қаралды 37 МЛН
This One Line Of Code Catches React Bugs For You
15:55
Web Dev Simplified
Рет қаралды 60 М.
Understanding the Keyword THIS in JavaScript
13:59
Steve Griffith - Prof3ssorSt3v3
Рет қаралды 9 М.
ES6 Iterator & Generator Fundamentals
18:18
Steve Griffith - Prof3ssorSt3v3
Рет қаралды 31 М.
Strict Mode - "use strict" - Beau teaches JavaScript
6:16
freeCodeCamp.org
Рет қаралды 48 М.
JavaScript Tutorial #19 | Strict vs  Sloppy Mode | JavaScript Strict Mode
8:47
Anagh Technologies Inc.
Рет қаралды 1,7 М.
Understanding the JavaScript Prototype Chain
21:45
Steve Griffith - Prof3ssorSt3v3
Рет қаралды 12 М.
WTF Is JavaScript Variable Hoisting
8:50
Colt Steele
Рет қаралды 27 М.
New keyword in Javascript
12:32
Hitesh Choudhary
Рет қаралды 53 М.