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.
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.
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)
I am so lucky to find your channel on youtube, ever since all things changed. Thank you.
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.
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.
I love the way you explain things it is very intuitive
This will help me learn. "use strict"; Thank you.
So is that where linting comes in to catch errors before you run the program and then get errors?
Exactly
Great video as always, Steve. Thanks!
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.
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)
Thanks, good video.
But I think the last part with let is wrong, I checked and the reassingment is working.
With let you can reassign but not redeclare. Strict mode makes var work in the same way
Another very cool tutorial!
So even if we already have a function named f1, we can still declare a new variable named f1? Then, the function became inaccessible?
Ahh now i get what this Strict mode is !
Very informative!
Yeah, thanks, but no thanks. i like my sloppy mode XD
Ok. I'll allow it. As long as you're using a linter.
U said, line 42 fails. But it works fine. I couldn't understand what u r trying to say here.
I left off the "let" at the start of line 42. That is what would make it fail.
thx