JavaScript Loops - Code This, Not That

Поделиться
HTML-код
  • Опубликовано: 30 сен 2024

Комментарии • 408

  • @IAmLesleh
    @IAmLesleh 5 лет назад +479

    Iterating over an object can be done with:
    for(const [key, value] of Object.entries(obj))

    • @Fireship
      @Fireship  5 лет назад +83

      Good call 👍

    • @ricardorien
      @ricardorien 4 года назад +5

      Do you know wich extension he used for emojis and show the console in one line?

    • @ghjerrr
      @ghjerrr 4 года назад +8

      Ricardo quokkajs quokkajs.com

    • @RocketTrolley
      @RocketTrolley 4 года назад +6

      I often use destructuring as well like this in loops. It just simplified things

    • @RocketTrolley
      @RocketTrolley 4 года назад +3

      Ricardo the tool you’re looking for is this quokkajs.com/ It’s called quokkajs

  • @hishammubarak3421
    @hishammubarak3421 5 лет назад +611

    This guy can pack a whole semester into 8 minutes. Watching this video was worth every second, I wish you uploaded one of these every week.

    • @LOOTS243
      @LOOTS243 5 лет назад

      🤑🤑

    • @hcmlopes
      @hcmlopes 5 лет назад +12

      This is true. These videos are difficult to follow if you are new in the subject but if you are somewhat familiar with the topic they are great

    • @curiosdevcookie
      @curiosdevcookie 4 года назад +5

      I agree wholeheartedly ❤️ I love learning, but the teacher is as important to the learning process as the knowledge itself, actually 🤔… teachers are more important because they are our tool (no offence intended!) to digest any kind of knowledge by best breaking that down from his or her perspective.
      Sometimes their style jives with their students’, sometimes not, sometimes even that is a learning/adapting process which can offer a lot in itself 😏😎
      I deeply admire his expertise in so many areas and his teaching style, and yes, emoticons are included for sure 😁🤗

    • @gbenga9811
      @gbenga9811 4 года назад

      I couldn't agree more. He's so good at it.

    • @maguilecutty
      @maguilecutty 4 года назад +2

      @@hcmlopes if you are new you should check out funfunfunction 's videos. Definitely a step before this and also really great teacher!

  • @Fireship
    @Fireship  5 лет назад +41

    RE 4:26 I was envisioning a long-running cpu intensive process as better suited for a compiled multi-threaded language. JS/Node is fast at basically every benchmark that matters, so didn't mean for that to come off the wrong way.

    • @olaorefouad2518
      @olaorefouad2518 5 лет назад +2

      Hi, Jeff. I was going through fireship.io, and I found out that you used web components via angular, Hugo for static content and firebase
      My question is; can you recommend any set of materials for to learn web components and Hugo.
      Please reply.

    • @Fireship
      @Fireship  5 лет назад +1

      @@olaorefouad2518 There is not much out there yet for WC. I made a video about "Advanced Angular Elements" recently that should be helpful if using Angular.

  • @TheYuvelir
    @TheYuvelir 4 года назад +23

    what extension did you used to show these results interactively ?

  • @amirhosseinrafiee2926
    @amirhosseinrafiee2926 5 лет назад +177

    Your videos are by far the best resource on programming . Keep up the good work 👍🏻🙏🏻

  • @hdorodev
    @hdorodev 5 лет назад +87

    I always wonder how can you do so much, with so much quality, with your time 🤔
    A video on your creative process, recording and editor set-up and your overall philosophical take on life, work and code would be very much appreaciated! You're quite the interesting human being :D

    • @Fireship
      @Fireship  5 лет назад +17

      Thanks for the unique suggestion. I will put all my tricks into a video one day. This sums up my philosophy on code fireship.io/mission/

    • @ChaoticNeutralMatt
      @ChaoticNeutralMatt 3 года назад

      @@Fireship that was actually interesting

  • @CaamSerenity
    @CaamSerenity 4 года назад +75

    One thing you need to keep in mind when using sort() on array though: So is destructive, unlike map(), filter() or reduce(). It changes the original array and returns a reference to that original array, NOT creating a new one!

    • @CST1992
      @CST1992 4 года назад

      That should be expected, shouldn't it?

    • @natew4724
      @natew4724 4 года назад +6

      @@CST1992 Not necessarily, because sort also returns a reference to the array like map, filter, etc.

    • @theclockworkcadaver7025
      @theclockworkcadaver7025 3 года назад +8

      @@natew4724 Yeah. Ideally, methods which mutate the original data should return void - especially helpful in TS.

  • @JamieMcI
    @JamieMcI 5 лет назад +75

    Much cleaner than my pooCount algorithms.

    • @Fireship
      @Fireship  5 лет назад +10

      Gotta keep the pooCount code clean

    • @codeonmars579
      @codeonmars579 5 лет назад

      ruclips.net/video/rXZT-u5T1qQ/видео.html

  • @bencavenagh1036
    @bencavenagh1036 4 года назад +16

    What is that plugin for displaying the console logs in the IDE? I would love that

    • @LuDaley
      @LuDaley 4 года назад +7

      It's probably the Quokka plugin(quokkajs.com/docs/). Made by the wallaby.js folks. I found it recently. I think it changed my life. Enjoy

    • @loobakaer2
      @loobakaer2 3 года назад +1

      @@LuDaley And on this day sir, you've changed mine.

    • @victorlongon
      @victorlongon 2 года назад

      It is Quokka, wallaby uses it under the hood

  • @SprHero
    @SprHero 5 лет назад +26

    For the early birds where the video doesn't load: set the quality to 360p and then click somewhere on the timeline to skip a few seconds (you can go back to the beginning afterwards).

    • @filipcoja
      @filipcoja 5 лет назад +5

      Actually works, thanks!

    • @Fireship
      @Fireship  5 лет назад +6

      Thank you Martijn! It won't even play for me.

    • @SprHero
      @SprHero 5 лет назад +1

      @@Fireship No problem. I hope my quick solution worked for you as well. I enjoyed the video!

    • @valiok9880
      @valiok9880 5 лет назад

      Is it because of youtube compression ?

    • @SprHero
      @SprHero 5 лет назад +2

      @@valiok9880 I'm not an expert, but I think you're right. I think youtube only had the 360p version ready, but for some reason gave us the HD option (which was not available). After setting the quality to that lower setting, skipping a few seconds forced youtube to load in the 360p quality (which was actually available). This way, the video could play.

  • @christay9626
    @christay9626 5 лет назад +7

    I like all of your videos; they're all presented very nicely compared to other programming videos on RUclips. My only criticism is that the code is run through so quickly, so if you're a beginner its hard to keep up with what is going on...

  • @carniattos
    @carniattos 5 лет назад +29

    Even in basic videos like this I'm able to pick up some tips and tricks here and there. Magnificent work Jeff

    • @codeonmars579
      @codeonmars579 5 лет назад

      ruclips.net/video/rXZT-u5T1qQ/видео.html

  • @sebbes333
    @sebbes333 3 года назад +4

    You will ALWAYS get the best performance when you write "normal" code that the compiler will recognize, it is faster because the compiles does a LOT of optimizations that you probably never even have heard about, no mater how great coder you are.

  • @microwavekonijn
    @microwavekonijn 4 года назад +3

    The for of loop and the default for loop have similar performance. Your comparison is wrong as the default for loop never access the elements in the array. Add something like "arr[i];" in the body and you will get similar performance. The for loop you are showing should be compared to the for in loop, which has worse performance. But that doesn't mean you shouldn't use it as it is really useful when iterating over keys in an object.
    Other than that great video.

  • @djpunisha29
    @djpunisha29 5 лет назад +6

    p.s. I subscribed and smashed that notification bell :)

  • @khai96x
    @khai96x 5 лет назад +2

    Callbacks of sort() are supposed to return a number (-1, 0, +1), not a boolean. So you should've used `a < b ? -1 : +1` instead of just `a < b`.

  • @ducodarling
    @ducodarling 5 лет назад +5

    How can you make a video on looping without "while" loops?
    I'm sure it's faster than forEach(), and probably more than for(-of-)

    • @SandeepKumar-cx7cz
      @SandeepKumar-cx7cz 4 года назад +1

      he mentioned that if your priority is speed only, then you should probably not use js.
      in most of the projects these minor 8 millisecond not worth fighting for.
      readability and maintainability is also important.
      these milliseconds does not translate to end user experience.
      instead invest in good cdn and server bandwidth.
      think about it, async await is a syntactic sugar, you can do same with pure callbacks. which save some milliseconds. which one you choose, majority of the time.

    • @rafaelfigfigueiredo2988
      @rafaelfigfigueiredo2988 4 года назад

      I should be wrong but shouldn't babel bundles write a script more machine friendly

  • @alexcubed4270
    @alexcubed4270 5 лет назад +15

    The video doesn't want to load for some reason :/

    • @DerJP
      @DerJP 5 лет назад

      Same for me

    • @Fireship
      @Fireship  5 лет назад +3

      I was having the same issue, RUclips's fault I think.

    • @joykama
      @joykama 5 лет назад

      Me either :(

    • @bartub5369
      @bartub5369 5 лет назад

      You're too early, try watching it at 360p for now :)

    • @bjesussalcedo4019
      @bjesussalcedo4019 5 лет назад

      1+

  • @vlad981
    @vlad981 5 лет назад +5

    Btw, property order in object are also guaranteed to be chronological by ES6 specs.

    • @Fireship
      @Fireship  5 лет назад +3

      Good call. It's only guaranteed in certain cases, right? I don't think the for-in loop would be ordered in ES6

    • @vlad981
      @vlad981 5 лет назад +1

      If I understand it correctly - it must be guaranteed - 2ality.com/2015/10/property-traversal-order-es6.html

  • @anticom1337
    @anticom1337 5 лет назад +12

    Hey Jeff, no offense but although this sort of content is important to understand and learn about i subbed to this channel for some more advanced topics. Don't get me wrong it's a great videos for newbies to js. Can you mark such videos as "basic" or "essentials" next time so it's easier to identify? Maybe possibly even adding intermediate and advanced tags to your videos might help out others to quickly grasp what skill level the video is suited for :)
    That being said keep up the good work sir!

    • @Fireship
      @Fireship  5 лет назад +5

      I hear you and advanced content is mostly what you will see on this channel. When you see "code this, not that" it will probably be pretty basic. I hope to do these quick basic videos every couple weeks.

    • @ihababdelbassetannaki6871
      @ihababdelbassetannaki6871 5 лет назад

      @@Fireship keep it for those who wanna embrace the JS Path, poeple do not born JS developers.I've been following your videos and I released that I have an advanced knowledge about JS , TS and different TSJS librairies,yet I was writing bullshit and I'm ashamed to call my code a code ... coz I was always like meh basics

  • @shellwhale8994
    @shellwhale8994 4 года назад +1

    What plugin do you use to show directly in the editor the console.log() output ?

  • @The_Ghost_In_Heaven
    @The_Ghost_In_Heaven 5 лет назад +4

    What editor are you using?

  • @tylim88
    @tylim88 5 лет назад +1

    what is your extension that run console.log immediately?

    • @maxasker2735
      @maxasker2735 5 лет назад

      @Andrin Weiler if its atom then personally I write 'log' and then press tab

    • @ricardorien
      @ricardorien 4 года назад

      Do you know wich extension he used for emojis? the extension you mention is called Quokka

  • @zhangkai7706
    @zhangkai7706 5 лет назад +14

    the callback for the sort method should be like (a, b)=>a-b, not ab. Am I correct?

    • @DavidsKanal
      @DavidsKanal 5 лет назад +1

      Yes!

    • @AB-ub9nd
      @AB-ub9nd 3 года назад +1

      What’s “Hi” -“Hello”

    • @pepkin88
      @pepkin88 2 года назад

      Only for numbers, you can't subtract strings. But you can compare them and return 1 or -1 like this: `a < b ? 1 : -1`.

  • @fatgolem69
    @fatgolem69 3 года назад +1

    only legends know that the thumbnail is changed

  • @jbraat
    @jbraat 5 лет назад +3

    I really enjoy your videos. I think they are very well put together and do have a lot of substance. However in my perspective the mindset of "it's really only concerned when every nanosecond counts and that point you might want to consider something other than javascript" (4:21) is not very good to have at all. If you do this a million times in your application it will still make it slower. Just because it does not matter in this one isolated instance and because "it's just javascript" does not mean, you should do it, if there is a better option (given you have the time and knowledge to optimize your code). We should always strive for the best possible solution to a problem (time, money, etc. are obviously factors to consider). That is at least my take on it.

    • @Fireship
      @Fireship  5 лет назад +1

      Yeah I actually regret that line now. It came off as JS is "slow" when that's not really fair. Bad code makes things slow, not the language.

    • @pepkin88
      @pepkin88 2 года назад

      > "does not mean, you should do it, if there is a better option (given you have the time and knowledge to optimize your code)"
      Most of the time, readability is the better option, not chasing minimal performance gains. Also, beware of premature optimization.

  • @botdamian5688
    @botdamian5688 3 года назад +3

    Keep in mind that only the normal for loop allows you to break or continue the loop.

    • @CorrectMyGrammarPls
      @CorrectMyGrammarPls 11 месяцев назад

      You can use return as a continue inside the function "loops", you cant break at all tho

  • @LazyGod840
    @LazyGod840 5 лет назад +6

    3:33 I wouldn't use Array() to test performance, because you create array that has 1 mil items of "empty". Uder the hood it works with array, that can have empty items in it (called holey array) and it has to check more things when using map, forEach etc. (not sure if it affects for loop too). It is better to just create array with [] and push items into the array. Then you may get more realistic times.
    I don't know how much different would it be, but if you need performance, this is the way to go (at least for V8 engine). I would say it is also more realistic usage in general than creating array using Array() with specified number of items. :)

  • @rushabhsheth5441
    @rushabhsheth5441 5 лет назад +2

    I guess you must upload a complete big videos to master JavaScript for a mid user.
    This video was amazing keep the good work going !!

  • @zeocamo
    @zeocamo 5 лет назад +1

    FYI: sort change the array that it is call on, so calling on a clone of the array is a good idea, for you coming FP folks :)

  • @hazemgharib
    @hazemgharib 5 лет назад +3

    What kind of extension you are using for VS Code to display instant JS interpretation like that?

    • @ndcouch
      @ndcouch 5 лет назад +6

      Quokka.js extension

    • @hazemgharib
      @hazemgharib 5 лет назад

      @ndcouch Bless you man!

    • @ndcouch
      @ndcouch 5 лет назад +1

      @@hazemgharib np buddy!

  • @inspirationalquotes3458
    @inspirationalquotes3458 2 года назад +1

    Make a btech in 100 seconds video

  • @loekaars
    @loekaars 5 лет назад +2

    What extension / theme are you using for the green squares on edited lines?
    Edit: also how are you getting live console.log() output at the end of lines?

  • @HaiVu
    @HaiVu 5 лет назад +1

    On NodeJS (latest at time of writing, on Ubuntu 19), for(let i = 0; i < ...) and for(x of y) and forEach() all gave roughly the same execution time, for a large array (1 million objs).

  • @guerra_dos_bichos
    @guerra_dos_bichos 4 года назад

    overall the videos are fine, you just seem to like js to such an extent that you would probably sleep with it over your gf/bf... just because you say you're not bothered by people disliking stuff doesn't mean it doesnt show

  • @guerra_dos_bichos
    @guerra_dos_bichos 4 года назад

    lord, if you're going to be asinine and just make dumbed down no-analysis for performance then it's preferable not to comment on the matter, no one said "functions are slower than loops" , they said it's harder to grasp the cost of the function than those of the loops...

  • @rizkiaprita
    @rizkiaprita 5 лет назад +1

    you said code this, not that
    but then you write your code with emoji
    okkk.....

  • @guerra_dos_bichos
    @guerra_dos_bichos 4 года назад

    write as little code as possible seems like we falling for the same pitfalls of waterfall design in reverse, the main goal of a developer should be to write clear code for humans , not hide stuff under the smallest fraction of code possible....

  • @Daw588
    @Daw588 5 лет назад +2

    What theme you using in Visual Studio VS Code?

    • @LazyGod840
      @LazyGod840 5 лет назад

      I'd guess it's the same theme that I use and it's called One Dark Pro.

  • @kld0093
    @kld0093 5 лет назад +2

    ever since i learned js, I used for( in ) and i thought its equivalent to forEach (i probably didn't pay attention on tutorials). Every time i'd use for ( in ) for an array, i'd get indexes and like wtf why is javascript doing this? now I know! Thank YOU

    • @Fireship
      @Fireship  5 лет назад +1

      It is confusing and I still mix them up after doing it a million times.

    • @Fireship
      @Fireship  5 лет назад +1

      @@darkopz good points, I actually mentioned the foreach issue in my async/await video. There are some gotchas in js when you use it's syntatic sugar, that's why linters are so important

    • @kld0093
      @kld0093 5 лет назад

      @@darkopz thanks for the advice!

  • @rezguibahaeddinne1605
    @rezguibahaeddinne1605 5 лет назад +2

    Just thank you so much, more please from this

  • @BrianClincy
    @BrianClincy 5 лет назад +3

    How do you get the emjoi's in your editor?

  • @kubikaugustyn
    @kubikaugustyn 5 месяцев назад

    Don't forget that JavaScript provides a generator function, in which you can use the "yield" keyword. You can use that in a for...of loop

  • @dogesamich104
    @dogesamich104 4 года назад +1

    6:52 isPoopy? These are the important questions a doge needs to know.

  • @domuuuuu
    @domuuuuu 4 года назад

    Use .slice(), not .splice()!
    .splice() mutates, undermining your use of const and introduces mutations, which are generally undesirable.

  • @mike406
    @mike406 5 лет назад

    This might be an unpopular opinion, but 99% of the time if I’m finding myself writing loops or iterative solutions, I’m not doing it in JS but giving it to the server and picking up the result with AJAX. I try to give the least amount of processing to the client as I can. I use JS purely for manipulating the DOM, not for data processing. My personal mindset and way of designing web apps is that data should be compartmentalized and given in chunks to the server so that the client has less chance of doing any trickery with it.

  • @scottknight8410
    @scottknight8410 4 года назад

    As an intermediate programmer, I must say .....
    I have no fucking clue what you're talking about.

  • @avi12
    @avi12 5 лет назад

    For anyone who wonders, his editor (Visual Studio Code) is able to instantly display results (e.g. next to console.log(...)) thanks to Quokka ( quokkajs.com )

  • @matteofalduto766
    @matteofalduto766 2 года назад

    1:37 "a lot less mental overhead" as long you don't code in Python as well, and you have to keep reminding yourself to write "e of arr" instead of "e in arr", as the "in" operator in JS has a different (and arguably less used/useful) meaning...

  • @niclasj2871
    @niclasj2871 5 лет назад +1

    Nice video
    Something about the firebase admin sdk would be nice

  • @oatscurry
    @oatscurry 4 года назад +1

    For some reason I read that as JavaScript poops

    • @Fireship
      @Fireship  4 года назад +1

      I almost called this video "JS Loops, not Poops"

  • @AbadiyTalaba
    @AbadiyTalaba 3 года назад

    *Holy shit was this useful😱😱😱, and definitely worth watching about a million times till I get every single word into my mind🤖😍😍😍!*

  • @armchair_expert
    @armchair_expert 4 года назад

    const arr = ["badger", "badger", "badger", "badger", "badger", "badger", "badger", "badger", "badger", "badger", "badger", "badger", "mushroom", "mushroom"]
    Thank you.

  • @TheCompleteGuitarist
    @TheCompleteGuitarist 4 года назад

    As I am writing some javascript loops I came out of curiosity, the saliva is now drooling over my chin and forming a pool at my feet and my motor neuron skills are pre stone age, I typed this with single fist strikes left then right then left etc. I am off to cry myself to sleep.
    Fortunately I wrote my scripts before watching this video.

  • @melonenlord2723
    @melonenlord2723 2 года назад

    Why are the nice code things often so slow? it's like the switch function instead of multiple else ifs or a function with multiple if and returns. Would like to know how performance was in the last filter object things. Maybe the complicated code is again the fastest with creating a new array, and push all wanted items in it with a for loop.

  • @loveparmar1284
    @loveparmar1284 5 лет назад +1

    0 dislike !! This is the power of great content. Thank you sir!! Love from India.

  • @filipcoja
    @filipcoja 5 лет назад +3

    The video doesn't load???

  • @rosstempo3765
    @rosstempo3765 3 года назад

    I wonder how many people of those who complain about performance of functional collection iteration in JS have actually come across a situation where the performance bottleneck has been the iterating. I suspect zero.

  • @chrisdash83
    @chrisdash83 4 года назад

    I'm fairly sure that if you start overwriting for-of-loop behaviour, "easier to understand for the average person" is not what you achieve.

  • @soniablanche5672
    @soniablanche5672 3 года назад

    don't use forEach with asynchronous functions, you'll have unexpected surprises.

  •  4 года назад

    For-Loop is trash. Just uses map, filter and reduce.

  • @dinuka_bandara
    @dinuka_bandara 5 лет назад +13

    also we have fill, Array(5).fill("Fireship"); //["Fireship","Fireship","Fireship","Fireship","Fireship"]

  • @Atmos41
    @Atmos41 2 года назад +1

    After extensive performance tests, I can assert that forEach is now performing extremely good (even better than a standard 'for' loop)

    • @Rudxain
      @Rudxain 2 года назад

      That's expected. Many new methods and syntax are slow at first, but when months pass by, the engine devs have already optimized most part of it

  • @marvinmokua
    @marvinmokua 3 года назад

    What extension are you using to display a run preview alongside the code that's to be executed
    emojis : 🤔🤔

  • @md.mohaiminulislam9618
    @md.mohaiminulislam9618 Год назад

    i did a leetcode problem with for of version and a for loop version
    for of solution was beating about 30% solutions on time, traditional for loop solution was beating about 70%+ solutions on time

  • @roflwaffles902
    @roflwaffles902 5 лет назад +1

    How did you learn JavaScript?

  • @randidoesthings
    @randidoesthings 4 года назад

    Fori is too hard and complex. Let’s instead overwrite the system default iterator and provide our own implementation.

  • @hammad-ilyas
    @hammad-ilyas 4 года назад

    But what about the index value. Only simple for loop give you access to it. Right?

  • @ElioStalteri
    @ElioStalteri 3 года назад

    Sorry but sort changes the original array, it doesn't return a new array sorted. I'm a huge fan of your channel so I didn't expect to find that 😕

  • @vidalroland
    @vidalroland 5 лет назад +1

    Very good as always, Will be helpful to train

  • @_rathankumar
    @_rathankumar 5 лет назад +1

    Nice content, is there any place where I can see your vscode setup?

  • @ahmedferah9797
    @ahmedferah9797 4 года назад

    whats you VS code extension for console.log( ) show automaticly plz ?

  • @nicholasraj9068
    @nicholasraj9068 5 лет назад +1

    What is the name of the editor you are using ?

    • @auxves
      @auxves 5 лет назад

      Visual Studio Code

  • @paulwhiterabbit
    @paulwhiterabbit 4 года назад

    after learning array functions in modern javascript, I don't think external helper libraries are needed anymore

  • @aidarwm2393
    @aidarwm2393 5 лет назад +1

    Why I need to use 'for of' or 'forEach' if standard 'for (let i=0; i < arr.length; i++)' is more faster?

    • @Fireship
      @Fireship  5 лет назад +1

      You don't have to, it's just syntatic sugar to make your code easier to maintain and understand.

    • @jasonwismer2670
      @jasonwismer2670 4 года назад

      Because coders get bored and want new toys. Too much syntactic suger isn't very good for you.

  • @blackpurple9163
    @blackpurple9163 Год назад

    What's that extension where the result/emojis print out right next to the statement inside the code, like next to the console.log( ) statement?

  • @boyemarc-antoine7027
    @boyemarc-antoine7027 3 года назад

    learning so much new way to iterate that im asking myself: is it worth to learn of all those stuff cause they are not more efficient than the older lol waisting time to learn stuff only usable in JS where usual loopin way work same or better

  • @averageintelligence6822
    @averageintelligence6822 2 года назад

    You probably won’t read this but how come no one does tutorials on using svg images they honestly suck using but you have to use them

  • @SillyNaughty
    @SillyNaughty 3 года назад

    Most of those milliseconds must be node overhead, there's no way a for loop like that takes the entire frame budget

  • @hnasr
    @hnasr 5 лет назад

    Great work dude!

  • @LofiWurld
    @LofiWurld 3 года назад

    How in the world does he output the console right in his editor??

  • @raulmartina8781
    @raulmartina8781 3 года назад

    What was that Symbol.iterator? What use cases have symbols the docs are wierd? 🥺

  • @edgar116611
    @edgar116611 4 года назад

    while decremental is the fastest loop in JS, why not covered here is beyond me...

  • @420troll4
    @420troll4 Год назад

    loops in javascript would be a LOT easier if there was a goto statement.

  • @SUPABROS
    @SUPABROS 2 года назад

    arr.map() is worse for performance since it creates another array with the values of the functions

  • @Muco1995
    @Muco1995 5 лет назад +1

    well done video, but way to basic :/

  • @avatars24
    @avatars24 5 лет назад +1

    thnx for all the videos You make

  • @ankushchoudhary1775
    @ankushchoudhary1775 3 года назад

    Why this guy doesn't speak slow. Not everyone is Shakespeare here 😂

  • @clownjunge2942
    @clownjunge2942 4 года назад

    Who is also only using emojis in his code examples after this video? :D

  • @anselmschueler
    @anselmschueler 3 года назад

    I'm a bit miffed that other methods *don't* use the object[symbol] thing

  • @itsnobledean9450
    @itsnobledean9450 Год назад

    Videos like this is the reason I may be looking to fork up the $400 for his pro member plan. The way he explains has helped me understand many topics in web development. I'm thinking hard on spending the money.

  • @maiconm
    @maiconm 5 лет назад +1

    Great video! How do you make these emojis?

  • @leguminosa9
    @leguminosa9 3 года назад

    what do you use? the compiler / plugin that has red and green thingy on the side, etc

  • @saideepkonduri6429
    @saideepkonduri6429 5 лет назад +1

    Awesome as always , background music is
    👌

  • @REVENANT310
    @REVENANT310 2 года назад

    What are you using that displays the console log results right next to the console log?

  • @alexnicaise8655
    @alexnicaise8655 5 лет назад +1

    Love your videos, gotta put it on slow mode tho; you talk so fast!

  • @NitinVarmaManthena
    @NitinVarmaManthena 3 года назад

    What plug-in are you using to display the in line debugger values?

  • @ak-loz
    @ak-loz 5 лет назад +1

    100% want more of this, please and thank you!a
    It's great!

  • @nicolevella6701
    @nicolevella6701 4 года назад

    i had to pause at the faces/feces joke so i could laugh not and miss anything.

  • @umka7873
    @umka7873 5 лет назад +1

    Jeff, what the music played? Tell me pls