i just said broooo and left :D couldn't handle it man
@diegoruelas6034 жыл бұрын
Lol
@christianpaul52243 жыл бұрын
That's a 45 minutes in a nutshell.
@angelmeza97162 жыл бұрын
3txx xx xxx xx ttx🇦🇴🇨🇮🇧🇮🇧🇯📶🔉📟 R Xezrzñpp
@Fireship5 жыл бұрын
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.
5 жыл бұрын
Np, you can perhaps add annotations.
@Fireship5 жыл бұрын
@ I would, but that's not possible on KZbin anymore.
@modolief5 жыл бұрын
Yikes ...
@thatnod4 жыл бұрын
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!
@noscreadur3 жыл бұрын
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.
@carlosmspk2 жыл бұрын
@@noscreadur use Typescript though...
@bparlan2 жыл бұрын
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.
@willmil11992 жыл бұрын
same
@b4ttlemast0r Жыл бұрын
it still doesnt make sense lol, but at least you understand it now
@newtonmunene5 жыл бұрын
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.
@MrDoom1595 жыл бұрын
Never seen a more intense JS tutorial before
@KJMcLaws5 жыл бұрын
Don't change anything on how you are doing this. Awesome quality content
@dennisstasaski71365 жыл бұрын
I'm blown away by how high quality this channel is !
@whong094 жыл бұрын
"You should respect the legacy of var but never use it." Why do I feel like you're not even being ironic about this.
@tvguideondemand4 жыл бұрын
Why would he be ironic? Is there any legitimate reason to use var in 2020?
@Neko_Void4 жыл бұрын
@@tvguideondemand ignorance
@this_mfr3 жыл бұрын
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...
@MrMontana19903 жыл бұрын
@@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
@xyzzy643 жыл бұрын
@@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
@DevNightly4 жыл бұрын
its nice to watch this kind of video when u're not in ur desk, resting, and just wondering about the world.
@Andrei-pq6qp2 жыл бұрын
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!
@nirmalmattmusic39934 жыл бұрын
In a nut shell js is intuitive and crazy at the same time.
@shibe895 жыл бұрын
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?
@Fireship5 жыл бұрын
Great idea, that would make a good module for this course.
@Robert-qq9em4 жыл бұрын
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.
@ludo39412 жыл бұрын
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!
@CubeAmaterasu4 жыл бұрын
Bro this is the best coding channel I learn a lot in a really entertaining way. This makes me think University is truly dead
@miggu Жыл бұрын
Your content is perfect: pace, humour , rigour , no wonder you're ranked as the best.
@cagri588610 ай бұрын
The explanation of the Closures and its comparison to the functions might be the best I have heard on KZbin
@manasmahanand7325 жыл бұрын
Please put a disclaimer that this is not a beginners course, as most beginners would be highly overwhelmed by this (pun not intended).
@Fireship5 жыл бұрын
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
@SocksWithSandals5 жыл бұрын
console.log(this); // "The Javascript Survival Guide"
@G3Number5 жыл бұрын
Fireship Thanks Thanks Thanks liked and subscribed!! Nice content! :)
@ArnoldsKtm5 жыл бұрын
This is pretty much beginner stuff though...
@aaronbell59945 жыл бұрын
@@ArnoldsKtm Closures !== beginner stuff
@amithbhagat3 жыл бұрын
10:40 "Closures" and 12:40 "this". Very well explained 👍. Thank you 🙏.
@9550raja3 жыл бұрын
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!
@stevecarter88105 жыл бұрын
As a long time developer who has not touched the web for 15 years this is the perfect bootstrap into JavaScript language. Thanks!
@911madza5 жыл бұрын
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..
@Kellum_family Жыл бұрын
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.
@ankitkaushikt Жыл бұрын
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.
@JR-yi5wb4 жыл бұрын
BY FAR the best code tutorial on the entirety of KZbin. lol this video deserves some kind internet award
@mcvgs17805 жыл бұрын
I love the quality of these videos. It combines the humor and entertainment of media essays and commentaries and the objectivity of programming.
@gauthamnookala17764 жыл бұрын
This has to be one of the most fun, clear, concise videos that I have ever watched. Great job!
@d0m22885 жыл бұрын
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.
@stickguy91092 жыл бұрын
The times when I used JavaScript I mainly used Canvas API because making games is what's always got me interested.
@juliohintze5955 жыл бұрын
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?
@Fireship5 жыл бұрын
This is episode 197, I knew basically nothing when I started. Just try to push each one a little further.
@viniricardoferrera3 жыл бұрын
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.
@for413 жыл бұрын
" what the hell is 'this'? " Your rhetoric in this video is on point. Bravo!
@gregfletcher23605 жыл бұрын
Fantastic video! Also that "A Few Good Men" reference was perfect 👌
@Fireship5 жыл бұрын
Thanks! That was a last minute addition
@undefinedvariable80853 жыл бұрын
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.
@BonjesBongo5 жыл бұрын
I have no words to describe how amazing this video is. Thank you so much for making this art piece.
@Fireship5 жыл бұрын
Thank you Maverick!
@BlameItOnJoe5 жыл бұрын
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"
@orinbay77423 жыл бұрын
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
@thejonte2 жыл бұрын
Somebody: "I hate your style of teaching for free on the internet" Fireship: *Hearted*
@48maliks Жыл бұрын
So glad I found this channel. Your videos are Gold mate!
@hamzac.45554 жыл бұрын
im gonna watch this video every morning, when you compared closure and object oriented, you won a medal, and + 1000xp
@VarunVerma5 жыл бұрын
The perfect video for a JS interview. Nice stuff.
@SandeepKumar-cx7cz4 жыл бұрын
Hi do you work in js Please share your CV, if you don't mind work42sandeep@gmail.com
@benjaminjameswaller5 жыл бұрын
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!
@kemsekov63313 жыл бұрын
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.
@donekhan71835 жыл бұрын
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.
@LukePighetti5 жыл бұрын
I had no idea people still used lodash. What do you use it for?
@saurabhyadav-nu3mj5 жыл бұрын
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.
@amit.deshmukh3 жыл бұрын
I never imagined I will binge watch programming tutorial
@fonncatalina64644 жыл бұрын
I am new to JS and studied some fundamentals for a week ,this is a perfect revision for me! Thanks!
@iamilyes2 жыл бұрын
Fireship and Honeypot are actual entertaining KZbin channels for developers... Massive respect for all the effort you put in the process of generating such content ❤️🚀
@shivamjhaa3 жыл бұрын
I have been doing JS for a few years now, but this video still clears some concepts. Cool!
@auntiecarol3 жыл бұрын
This is gold for those who have some experience in other languages.
@key_michael5 жыл бұрын
You are the Web Developer Survival Channel!
@uboat465 жыл бұрын
Dude! You really make the best videos! This is awesome !
@goldflyknows4 жыл бұрын
Never have a been more happy about the ability to play videos at 3/4 speed.
@Blame2a5 жыл бұрын
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
@ranjeetsinghtharu53759 ай бұрын
You rock Fireship!....learning curve is smooth...your videos are helful
@dealloc5 жыл бұрын
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.
@IamKunalPatil4 ай бұрын
I had a lot of doubts regarding these things in JavaScript. Thanks for making this video. Now I have some idea about it. 😅
@junehanabi17564 жыл бұрын
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.
@alpsavasdev2 жыл бұрын
wow, how could you explain such complex stuff in such simple words. admirable
@indiansoftwareengineer48993 жыл бұрын
Ending is awesome.... loved your channel.
@thedevilffs5 жыл бұрын
Thank you. I *finally* actually understand what a closure is.
@pashweetie5 жыл бұрын
Finally things I can use that aren't elementary! Thanks!
@LaughDonor5 жыл бұрын
Great video, but you misspoke when it comes to logical-and and logical-or operators. Both operators incorporate a short-circuit logic and can return the object itself. For example: 0 && 1 returns 0, and 1 && 2 return 2, not actually returning true or false.
@SandeepKumar-cx7cz4 жыл бұрын
Hi do you work in js Please share your CV, if you don't mind work42sandeep@gmail.com
@zen-ventzi-marinov4 жыл бұрын
Damnnn I love the sound effects, though comedic, with good mood still give you the chills!
@ВладимирКерзиков5 жыл бұрын
Thank you. A really comprehensive video, it filled many gaps I had. Waiting for the new ones!
@LukePighetti5 жыл бұрын
I might not be first I might not be last but when Fireship posts I make a sandwich and watch it
@anonamos2255 жыл бұрын
Weird haiku
@ThePC0075 жыл бұрын
Why would you watch a sandwich?
@sevcandincel4 жыл бұрын
@@ThePC007 lol
@ankushsarkar17464 жыл бұрын
@@ThePC007 ok dude
@karimnaufal97923 жыл бұрын
First time I understood closures 😂 Thank youuuuu 🙏🏻
@mwinetimothy302011 ай бұрын
You just make the learning so interesting. Thanks for the videos
@suraj-ram74885 жыл бұрын
This is one of the best web development channels on KZbin
@SandeepKumar-cx7cz4 жыл бұрын
Hi do you work in js Please share your CV, if you don't mind work42sandeep@gmail.com
@DuyenPhanLan3 жыл бұрын
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
@FutureJacket6 ай бұрын
As someone with coding experience but not much in JS this was a good primer.
@MrTomyCJ5 ай бұрын
Be careful because js running in strict mode might modify some of this behavior, and code is sometimes implicitly run in strict mode.
@ThomasGodart5 жыл бұрын
10:40 "a closure is a function within a function" No, it's not that. A closure is a context within a context, it had nothing to do with functions. Apart from that small mistake, very good JS introduction 👍
@exactzero4 жыл бұрын
But newbies won't understand what context means.
@dizzyrocket20003 жыл бұрын
@@exactzero I think of it as the movie Inception
@freedom_aint_free Жыл бұрын
My first contact with Java Script (JS) was in 1997, it blew me away with its possibilities, but I never got into it as a day job, I remember working with Delphi instead in the late 90's. The biggest blunder in JS for me was not having types optionally, typed languages are much faster and potentially much safer.
@funnyanimalworld75792 жыл бұрын
Good explanation for those already into js .Making those abit harder concepts abit clearer.
@jameslemayian76105 жыл бұрын
Pure awesomeness! I like the coherence! Keep it up! You got a new follower. I can't wait for the next.
@MrStefanica3 жыл бұрын
Very good job! I'd recommend this video for higher than beginner JS programers or for programers coming from other languages. 🙂
@icaromendes12502 жыл бұрын
Js is crazy! frequently catch myself thinking: whats is going on here?! mostly is the async stuff, this video more than anything has teach me to take it easy - it's not just me, there is a lot of people trying to make sense out of it... let's laugh about it😁
@diegazo55564 жыл бұрын
top 3 best coding KZbin channels. suscribed and in an infinite smashing the like button loop.
@superclue3 жыл бұрын
Nice and succinct. I prefer it this way where if I miss something I just go back 10 seconds or pause.
@Rudxain2 жыл бұрын
4:36 you omitted an important detail, *NaN is falsy!* So if you have code that expects ANY number value, you must be prepared to deal with NaN, and never confuse NaN with 0 (except when doing bitwise ops, that's not bad). JS also strictly follows the IEEE-754 float standard, which means there's also *negative zero* but you shouldn't worry too much about it unless you're writing polyfills for the Math standard library object
@itamarr447 Жыл бұрын
me in my head: "damn what is this plugin that shows the value of the code on the right in blue?" jeff literally one second later: "and just for those who are wondering, the plugin is Quokka for vscode"
@nehemiahalvarado12095 жыл бұрын
Very interesting, currently taking a web tech course and this helps further my understanding of Javascript. Thank you for the great work!
@Prestonepope3 жыл бұрын
Best JS overview I've seen. Thanks!
@sgmvideos5175 Жыл бұрын
I liked javascript when I was learning it, possibility to do simple code and run it on any computer with browser, nice... but now I'm more experienced with it and I love it :D it's awesome language and yet so simple... if not using frameworks :3
@ApurvKhare5 жыл бұрын
A perfect video for revisiting JS concepts but those out there learning JS for the first time, don't get overwhelmed. Just read what I said in first sentence.
@SandeepKumar-cx7cz4 жыл бұрын
Hi do you work in js Please share your CV, if you don't mind work42sandeep@gmail.com
@dealloc5 жыл бұрын
I also think it worth mentioning named functions vs anonymous functions and how it can affect debugging output. If you're defining functions without a name (either, `map(() => {})`, or `map(function () {})`), these functions will show up as `anonymous` in the stack traces. This can make it substantially harder to debug, so it's recommended that you always name your functions: For arrow functions, `let foo = () => {}` and for normal functions, `function foo() {}`. A bit of a deal breaker with arrow functions is that you can not name it at self-declaration time, whereas normal functions, you can: ``` map(toMonkey = (animal) => {}); // This will not work map(function toMonkey(animal) {}); // This will work ``` For arrow functions, you can declare them before referencing them: ``` const toMonkey = (animal) => {}; map(toMonkey); ```
@shass32075 жыл бұрын
browsers are getting better at throwing more informative call stacks for debugging purposes, so naming anonymous functions may not be as needed as before
@Hades5k5 жыл бұрын
One can almost learn JS in less than 15 min here....!!! Great video ; )
@vinzer72frie Жыл бұрын
Thank you I was sick of finding beginners only tutorials
@dominicanfrankster2 жыл бұрын
The type of content that makes you pee a little with laughter because you're a massive nerd, and you wish with every fiber of your being to share with your irl friends, but you know you can't because only massive nerds will appreciate it.
@Mohamedhassan-if8ww5 жыл бұрын
Best Serie ever . i never thought that javascript was that complecated and easy at the same time
@patelincanada72 жыл бұрын
The shortest JavaScript tutorial Ever 🤩
@SandorFekete3 жыл бұрын
Terrific video; there is so much JavaScript condensed into a quick 15min video! One nitpick though... it’s spelled “primitive” not “primative”. 😉
@rajashekarreddy27685 жыл бұрын
one of the best js tutorial i have seen ....... thank you so much ..... love from india
@SandeepKumar-cx7cz4 жыл бұрын
Hi do you work in js Please share your CV, if you don't mind work42sandeep@gmail.com
@phokgedimaja3273 жыл бұрын
It's good to come to the basics everynow and then. Fireship 🔥
@SavingShredz5 жыл бұрын
Jeff you're doing the lords work
@kolavithonduraski50314 жыл бұрын
i thought... "ou wow... a compact javascript course in just round about 15minutes, nice" then i checked the playing speed of the video, and after that i reduced it to (in my opinion) normal speed... i finished it just yesterday, 8 Month later 😆👍
@albertluta47825 жыл бұрын
This man going to be big
@aaronbell59945 жыл бұрын
Homerun tutorial. Just learned about closures myself. Did not know about hoisting. Did not know that var leaked to the parent scope. You did put call, bind, apply at the beginning, so I was expecting that. Minor compared to the rest of the video's quality.
@Anson_The_Pro3 жыл бұрын
Thank you for recommending this plugin. I imagine it would be very useful for predicting what "this" refers to
@SXCRD5 жыл бұрын
Brilliant! Please continue with these videos. Well done.