17 JavaScript Hacks You Haven't Heard Of

Опубликовано: 15 Март 2026
на канале: Zaurbek
964
56

My JavaScript Ninja hacks

⚡ Get in touch:   / zaurbekstark  

▬▬▬▬▬ RECOMMENDED VIDEOS ▬▬▬▬▬
➜ 22 Hacks Every Web Developer Should Know in 2022:    • 22 Hacks Every Web Developer Should Know  
➜ 8 Years of Coding in 10 Minutes:    • 8 Years of Coding in 10 Minutes  
➜ 3 Software Business Ideas to Start in 2022:    • Video  
➜ I Built An App With 1,000 PREORDERS In 48 Hours:    • How To Find Startup Ideas: A 3-step model  

▬▬▬▬▬ ⏳ TIMESTAMPS ▬▬▬▬▬
0:00 : Intro
0:18 : 1 - Assigning values to multiple variables
0:41 : 2 - Destructuring
1:01 : 3 - Swap 2 variables
1:25 : 4 - Check if a Property Exists in an Object
1:51 : 5 - Spread syntax
3:07 : 6 - Using length to delete or empty in an array
3:24 : 7 - Getting the last item in the array
3:52 : 8 - Extract unique values in array using sets
4:12 : 9 - reduce() on arrays
4:56 : 10 - Template literals
5:25 : 11 - Ternary operator
5:56 : 12 - Short-circuits conditionals
6:17 : 13 - Default value using || operator
6:40 : 14 - Functions on the console
7:25 : 15 - Unary Plus operator (+)
7:47 : 16 - Dynamic property names for object
8:10 : 17 - document.designMode