did he just say "g" when going through the hexadecimal characters at 7:20 lmao
I think what you were calling extraction is actually called destructuring (like it's proper term). Nice video, definitely learnt something new
I legit thought this was gonna be a video about Javascript jokes
3:37 I'd like to add that it's worth remembering that using spread operator on arrays have iteration cost attached to it, so the larger the array the slower this works. So, if your code is called many times over it's better to merge arrays in traditional way by pushing elements of one into another. It doesn't matter on small arrays, but on actually large ones (thousands of items) this may cause a noticeable lag. 6:33 6-digit hexadecimal number. In decimal (default representation in console) it can go up to 8 digits. ;)
You are a developer and a successful youtuber, but from the outlook, you could be an actor too. No joke.
Always amazing to be greeted as "gorgeous" 😅😁
Dude. The random hex was super clever. My favorite new trick.
This is a nice list, but I would strongly recommend w this being a teaching channel, to mention the technical name of some of these patterns and operators as you go. Spread operator, object destructuring syntax, guard blocks, etc.
I will make a shortcut of this video to my desktop. Thanks Ed.
The random color hex thing blew my mind!
Array.from(new Set([…..])) is much cleaner than what you did and is the preferred way btw
I've always called the "one line if" a guard statement, or a guard if statement. Helps a ton with nesting.
concat() is another way to merge arrays: arr1.concat(arr2); Retaining only unique values: [...new Set(arr1.concat(arr2))];
We love you, Ed. Just wanted to let you know that.
I created a random background-color generator with copy-to-clipboard inside a hex code div (the hex code shows inside the div). Click the button to generate a random colour and if you like it, click the hex field div to copy it. Great little video that has definitely improved my abilities and knowledge, ta Ed 😀😎
After CSS one-liners, now this = New Subscriber here :)
Cool! Although I knew most of these one-liners. Only DesignMode and transitioned events are new to me. Thanks for sharing.
That color generator is awesome!! Tyvm!
8. is actually called a Guard Clause, very useful to avoid nested if statements!
@eduardointech