10 Life-Saving JavaScript One-Liners 🔥 CODE LIKE A PRO 2022
Vložit
- čas přidán 15. 07. 2024
- 🦸 Become A VS Code SuperHero Today: vsCodeHero.com
🧑🏾🤝🧑🏽 Join my Discord developer community: / discord
In this video, I’ll show you 10 JavaScript one-liners that will make you look like a Professional Distinguished Engineer. These tips and tricks are next level!
_____________________________________
🛠️ Tools I use:
🟠 codeSTACKr Theme: marketplace.visualstudio.com/...
🟠 STACKr Code Font (Exclusive to my VS Code Course - vsCodeHero.com)
🟠 SuperHero Extension Pack: marketplace.visualstudio.com/...
_____________________________________
⏱️ Timestamps ⏱️
00:00 - Intro
00:11 - CAPITALIZE A STRING
00:45 - COPY TO CLIPBOARD
01:05 - FIND UNIQUE VALUES IN ARRAY
01:34 - CHECK IF EVEN OR ODD
02:03 - GET AVERAGE OF NUMBERS
02:33 - REVERSE A STRING
02:59 - CONVERT RGB TO HEX
03:25 - GENERATE RANDOM HEX COLOR
03:53 - CHECK IF ARRAY IS EMPTY
04:38 - SHUFFLE AN ARRAY
_____________________________________
💖 Show support!
PayPal: paypal.me/codeSTACKr
_____________________________________
👀 Watch Next:
Playlist: Web Development For Beginners - • Web Development - Begi...
_____________________________________
🌐 Connect With Me:
Website: www.codestackr.com
Twitter: / codestackr
Instagram: / codestackr
Facebook: / codestackr
_____________________________________
** Affiliate Disclaimer: Some of the above links may be affiliate links, which may generate me a sales commission at no additional cost to you.
#codeSTACKr #JavaScript #tipsandtricks
🦸 Become A VS Code SuperHero Today: vsCodeHero.com
🧑🏾🤝🧑🏽 Join my Discord developer community: discord.gg/A9CnsVzzkZ
Thanks a lot for those one-liners. Saves me a lot of time while working on JS.
Completely new to me. The definition of an (arrow) function can make things much clearer to understand lateron
A really helpful tip🙌
Great content would love more of this
That was awesome 👍👍
Thank you sir ❤️!!
Thanks a lot
Really hellpfull video, like
Most of the array examples are given in just number[] or string[], but in real world, we mostly play with Object Array.
Your VSCode look killer, Which theme and font are you using?
amazing tricks
Thanks!
Can someone please explain the rgb to hexadecimal one? What exactly is going on?
Congratulations for 200K Subs , U Deserve more.. ✅❤
Thank you!
Hey Jesse :) while I wait for your video on how to create a minting website, can I do all the steps you show in your previous video on how to create a collection just to get a head start? Or will creating a minting website negate all these prior steps
For sure. Get your collection started and even upload the images and metadata to IPFS. Just stop at the minting part. That would be done from the website.
Wow
how did you make your caret/cursor animation to be like that? Awesome video btw but please tell me lol it looks so smooth.
Thanks, it's just vs code cursor settings.
@@codeSTACKr ah thanks so mucchh :D
how did you manage to leave brads home, I want a video on that
Amazing
Thanks
Nice.
Thanks!
one library (mostly): *lodash-es*
One liners in one line
I know 7 of them.
But how do you make a rightward double arrow???
Your copyToClipboard() gives me an error. Uncaught (in promise) DOMException: Failed to execute 'writeText' on 'Clipboard': Document is not focused. I 'm not sure what is causing this. When I search online, it seems like a common problem but I have not found a clear answer.
What font do you use?
It's a modified fira code font. link in description
I think dev ed stole like 4 of these 😵💫in his last video..
👏👏👏👏👏🙏🙏🙏🙏🙏🙏🖖🖖🖖🖖🖖🖖
You hardly have git link to your codes ...why!!!
Not quite helpful, do some Tut about design patterns in express js