The JavaScript Survival Guide
Вставка
- Опубліковано 14 лип 2019
- The JavaScript Survival Guide 🧟 provides protection from the so-called "weird" features that you will encounter as a JS developer. This primer will introduce you to variables, functions, objects, closures, hoisting, this-binding, and more. fireship.io/courses/javascript/
#javascript #tutorial
Primary source: developer.mozilla.org
Take the quiz 🤓
iOS itunes.apple.com/us/app/fires...
Android play.google.com/store/apps/de...
Upgrade to Fireship PRO at fireship.io/pro
Use code lORhwXd2 for 25% off your first payment. - Наука та технологія
Who knew a tutorial could be this entertaining :P
haha i know
i just said broooo and left :D couldn't handle it man
Lol
That's a 45 minutes in a nutshell.
3txx xx xxx xx ttx🇦🇴🇨🇮🇧🇮🇧🇯📶🔉📟
R
Xezrzñpp
I first contracted the JavaScript virus 21 years ago, so I'm not exactly new to it.
In under 15 minutes you explained everything I found confusing or contrary. It now makes sense.
No longer will I think of JavaScript as quirky and insidious.
Thank you!
Likewise Mr. L: After 21 years JavaScript is almost unrecognisable in structure and scope. It's not a dirty hack anymore, it is the full-stack/style agnostic/polished hegemonic state of the art.
@@noscreadur use Typescript though...
I began coding with Basic in 1998, used html css sql and python until 2008, then stopped. Now I am trying to learn react, needed that javascript stuff, this video is beyond enlightenment.
same
it still doesnt make sense lol, but at least you understand it now
Never seen a more intense JS tutorial before
"You should respect the legacy of var but never use it."
Why do I feel like you're not even being ironic about this.
Why would he be ironic? Is there any legitimate reason to use var in 2020?
@@tvguideondemand ignorance
I'm learning JS and I keep running into things saying that Let should only ever designate a local variable and Var should be used for global. But that global variables are dangerous and so only local variables should be used, meaning you would use Let...but that doesn't explain why not use Var?
Legit questions because I keep seeing conflicting stuff...
@@tvguideondemand if you are writing js that will not be transpiled (babel or typescript) and usage by legacy browser should be possible you still have to use var. that should be mentioned
@@this_mfr If you have a global variable then it should be declared in such a way that it would remain global even by using the let keyword, otherwise you might want to look into how you're writing your code. Don't use var, let defines variables as god intended lmao
Glaring typo *Primatives* 🐵 - I am aware, but can't fix it now 😭. Also, primitive constructors should have a `new` keyword. String('foo') is the same as 'foo' (literal syntax), but *new String('foo')* is what I was talking about in the video.
Np, you can perhaps add annotations.
@ I would, but that's not possible on UA-cam anymore.
Yikes ...
In a nut shell js is intuitive and crazy at the same time.
Fireship is perfect for me. The videos are brief but comprehensive. This makes them interesting. It also makes them perfect as refreshers. I also get to learn so many new things with every video.
its nice to watch this kind of video when u're not in ur desk, resting, and just wondering about the world.
Don't change anything on how you are doing this. Awesome quality content
I've been writing Javascript for over 9 months so I understand most of the stuff explained in these 3 videos, yet I can not stop watching they are gold. Entertaining and now I understand things that we're blurry in my head or I did not understand at all. Your channel is a gold mine. Keep it up!
I'm blown away by how high quality this channel is !
Please put a disclaimer that this is not a beginners course, as most beginners would be highly overwhelmed by this (pun not intended).
That's fair. This is more of a primer for concepts you should know eventually. The upcoming videos will revisit specific areas with more focus for beginners
console.log(this); // "The Javascript Survival Guide"
Fireship Thanks Thanks Thanks liked and subscribed!! Nice content! :)
This is pretty much beginner stuff though...
@@ArnoldsKtm Closures !== beginner stuff
This is easily the most helpful JS video Ive seen. Many of the concepts Ive been struggling with you touched on, and none of the other JS videos Ive seen even cover JS structure like you do. Thank you for your work.
I love the quality of these videos. It combines the humor and entertainment of media essays and commentaries and the objectivity of programming.
Awesome video. Clear, concise, and informative, from your words to what you chose to display onscreen. I've been balls deep in Ruby on Rails for the last couple of weeks, and watching this really helped getting my JS brain to wake up. I'm looking forward to checking out more of your content.
The best thing that had happened to me after becoming a junior js developer, is finding this channel.. I'm learning a lot from you!! Thank you!
This has to be one of the most fun, clear, concise videos that I have ever watched. Great job!
Great stuff man! Would've been great if you touched on how the behaviour of hoisting compares with the traditional var keyword and the let and const keywords, specifically with regards to the "temporal deadzone".
As a bonus, briefly touch on how mutating objects and array key value pairs affects references to those objects in memory - this still trips me up.
I am new to JS and studied some fundamentals for a week ,this is a perfect revision for me! Thanks!
The relationship between predators and prey is often described as the balance of nature.
While we must survive from the JS and its mutations - frameworks, it must survive from WA itself..
Great and extraordinary presented knowledge in just 15 minutes. Wow! Keep going!
Just suggestion, I noticed that you are really good at using chrome developer tools can you make a video series about that maybe at some point in future?
Great idea, that would make a good module for this course.
Your content is perfect: pace, humour , rigour , no wonder you're ranked as the best.
As a long time developer who has not touched the web for 15 years this is the perfect bootstrap into JavaScript language. Thanks!
Bro this is the best coding channel I learn a lot in a really entertaining way. This makes me think University is truly dead
I'm an amateur coder and I've taken several courses, read several Medium articles, etc. but I had never seen a memorable and easy to understand explanation on var vs let/const till now. 👏👏👏 I just repeated to myself "var is bad; let is good; const is even better"
I always watch your 100 second videos. I watch this not realizing that this was your video and once the video was over, I thought to myself I’ve never heard anyone explain anything as good as you do and lo and behold it was fire ship this whole time you are a God amongst men.
The explanation of the Closures and its comparison to the functions might be the best I have heard on UA-cam
Damnnn I love the sound effects, though comedic, with good mood still give you the chills!
The times when I used JavaScript I mainly used Canvas API because making games is what's always got me interested.
I have been doing JS for a few years now, but this video still clears some concepts. Cool!
I've had from little to none experience in js but I understood everything from this video. Now I am feel a bit more confident about js.
10:40 "Closures" and 12:40 "this".
Very well explained 👍. Thank you 🙏.
Thank you. A really comprehensive video, it filled many gaps I had. Waiting for the new ones!
BY FAR the best code tutorial on the entirety of UA-cam. lol this video deserves some kind internet award
Really good content. That is my only comment for the year 2019 but you really did a good job with editing and straight to the point explanation
Thanks for a great video! I’ve learning JS for almost a month and I am trying to wrap my head around it when it comes to applying it to real world projects
Dude! You really make the best videos! This is awesome !
" what the hell is 'this'? " Your rhetoric in this video is on point. Bravo!
Fantastic video! Also that "A Few Good Men" reference was perfect 👌
Thanks! That was a last minute addition
Very interesting, currently taking a web tech course and this helps further my understanding of Javascript. Thank you for the great work!
dude I vowed never to buy a course but guess i gotta buy yours , your teaching just hits !!!!
Fireship and Honeypot are actual entertaining UA-cam channels for developers... Massive respect for all the effort you put in the process of generating such content ❤️🚀
I'm pretty 'primitive' when it comes to this topic so either spelling works for me! Thanks Jeff! I really appreciate this beginner, back-to-basics course on JS. Love'n it mate!
It's great that there are multy-hour courses on any-thiing you want. But I can't thank you enough for making this short, dence videos
So glad I found this channel. Your videos are Gold mate!
Brilliant! Please continue with these videos. Well done.
another fantastic lecture. looking forward to the next one!
You explain in 14:46 Minute video what people takes 5 to 6 hours. Big Fan Fireship. Entertainment + Knowledge. Wish This video could be 1 hour long.
Finally things I can use that aren't elementary! Thanks!
Pure awesomeness! I like the coherence! Keep it up! You got a new follower. I can't wait for the next.
I never imagined I will binge watch programming tutorial
I usually watch everything in at least 2x speed (more often than not around 2.5x). Today I had to watch this video in 0.75x the speed and keep going back and rewatching parts lol. The variables and functions parts were too many new and complex stuff for me (even with all the similarities to Python and C#, which are languages I have studied and used before). Amazing!
Quite fun and different way to explain things, thank you!
Good explanation for those already into js .Making those abit harder concepts abit clearer.
This is gold for those who have some experience in other languages.
im gonna watch this video every morning, when you compared closure and object oriented, you won a medal, and + 1000xp
Wow, that was so good, Thank You so much, mate!
Watching THIS 3rd time.
wow, how could you explain such complex stuff in such simple words. admirable
Best JS overview I've seen. Thanks!
Hey brother, I would like to thank you so much for the amazing ways you explain complex things, I hope you can come up with fast tutorial for lodash library of JavaScrip, I've just started learning machine learning with javaScript, so that library is very important to mastery its functions to use them for converting maths algorithms to javaScript codes.
I had no idea people still used lodash. What do you use it for?
what resources are you using to learn ML with javascript. i'm also curious about ML,but not very keen to learn python for it.
You just make the learning so interesting. Thanks for the videos
Best Serie ever . i never thought that javascript was that complecated and easy at the same time
Well done tutorial! It's super helpful and easy to understand. Thank you!!
You are the Web Developer Survival Channel!
The perfect video for a JS interview. Nice stuff.
Hi do you work in js
Please share your CV, if you don't mind
work42sandeep@gmail.com
Nice and succinct. I prefer it this way where if I miss something I just go back 10 seconds or pause.
As someone with coding experience but not much in JS this was a good primer.
Awesome video man! I really wish I had seen this video earlier even this is a bit challenging for beginners
Got represented witth the "SURVIVAL" part :)
Wow! You are an amazing teacher, I loved this
Very good job! I'd recommend this video for higher than beginner JS programers or for programers coming from other languages. 🙂
Loving this video series!
You rock Fireship!....learning curve is smooth...your videos are helful
Ending is awesome....
loved your channel.
First time I understood closures 😂 Thank youuuuu 🙏🏻
Thanks for the great content, specially the .call function is extremely powerfull once you understand 'this', really, thank you!
I enjoyed this tutorial very much ... very entertaining and informative.
Keep up the good work!
Somebody: "I hate your style of teaching for free on the internet"
Fireship: *Hearted*
Never have a been more happy about the ability to play videos at 3/4 speed.
Your videos are awesome! Even some experienced devs can learn from them.
Do you happen to learn something when you are making these videos or are you some kind of god that already knew all of this beforehand?
This is episode 197, I knew basically nothing when I started. Just try to push each one a little further.
Aways if a person asks if u r a God, u say so. " 'course I am. pff"
Duuude... U r blowing it
Lol!
Thank you very much for such nice content.
This is tutorial heaven 🙌
👏thanks for the overview, quite helpful
One can almost learn JS in less than 15 min here....!!! Great video ; )
I love your editing man.
The intro to this video is hilarious.
Thank you for recommending this plugin. I imagine it would be very useful for predicting what "this" refers to
I really enjoy your tutorials it's not boring 😂, can u make a tutorial on how you edit your tutorials? It's so simple yet entertaining
I feel like I can only understand and grasp fully the concepts shown in this video because I already have a solid grasp on JS (I started studying and using it many years ago and I still use it on a daily basis). Nevertheless, nice job on these! It's surely a cool way to recap all the things. But a newcomer should really go deeper into these concepts on his own
The shortest JavaScript tutorial Ever 🤩
That intro! 💥
It's good to come to the basics everynow and then. Fireship 🔥
wow, awesome editing, nice speaker voice and very understandable 👍 keep up the good work 😃
I appreciate the class analogy, that helped make js closures click for me 👍
man I love your memes in between explanations :D
this is entertain and make me freak out at the same time.
It's worth noting that the switch statement used to be ill-advised a LONG time ago, that was during the days when javascript was executed line-by-line and switch statements were very slow. In the modern world javascript is compiled and switch statements don't cost any performance or time. I bring this up because you'll still see mentions here and there not to use it when searching Google or reading books. Ignore them, that was during the old-era Javascript back in the stone ages.
Absolutely loved this video. Favorite one. Should add some more memes
Jeff you're doing the lords work
After the video, I know I will keep my compure like the gentleman in the end.
A bit of extra information regarding the logical operators, like `||` (logical or), and `&&` (logical and). They check for truthiness between both values and return either the left or right, depending on the condition. This does not guarantee to return a boolean value, if either of the values aren't boolean.
For example, if you're comparing, say, a string value to undefined, if the string is empty, the logical or will always return 'undefined', if the string is not empty, it will return the string.
If you expect the value to always be a boolean value, either add a double bang (!!) in front of your expression, or use tenary operators, which can be more readable and easier to understand the outcome of.
This always usefull when you create game in javascript cause this is awesome