I recently posted a lot of visual JavaScript tips, explanations, and algorithm implementations. 💛
Here is a collection of them. 📖
They will definitely help developers of any skill level to learn something new.
A thread. ↓
1. The Nullish Coalescing Operator
2. Strict Equality Comparison > Abstract Equality Comparison
3. Numeric Separators
4. Quickly Filter Out All Falsy Values From An Array
5. Automatic Semicolon Insertion
6. Get All Unique Values From An Array
7. The Destructuring Assignment
8. Array Destructuring
9. Use Array Destructuring To Swap Two Variables
10. Destructuring From A Possibly Undefined Property
11. Get The Last Items Of An Array
12. Swap Elements Within An Array With Destructuring
13. Destructure An Object Into Existing Variables
14. Destructure Function Parameters To Increase Readability For Users
15. Make Arguments Required By Using Default Parameters
16. Anatomy Of A For Loop
17. Anatomy Of A While Loop
18. The Performance API
19. Anatomy Of A Do-While Loop
20. Spreading Sparse Arrays As Arguments
21. Prevent An Object Key From Being Enumerable
22. A Memoized Fibonacci Function
23. How To Format The Output Of JSON .stringify
24. How To Create A Cancelable Promise Delay
25. A Lazy Range Function
26. A Python-Like Range Function
27. Sum Up Array Values With Reduce
28. Make Objects Immutable With Freeze
29. Make Arrays Immutable With Freeze
30. Infinitely Flatten An Array
31. Anatomy Of A For-Of Loop
32. Anatomy Of An Object Destructuring Assignment
33. Anatomy Of Array .prototype .map
34. Short Circuit Evaluation With The Logical AND
35. Short Circuit Evaluation With The Logical OR
36. Use Array Spreading To Keep Arrays Immutable
37. Anatomy Of Array .prototype .flatMap
38. Anatomy Of Array .prototype .forEach
Share this Scrolly Tale with your friends.
A Scrolly Tale is a new way to read Twitter threads with a more visually immersive experience.
Discover more beautiful Scrolly Tales like this.