Use the flatMap
array method to filter and map elements in a single iteration.
Topic: JavaScript โ Page 8
An impressive code golfing example from Martin Kleppe.
The "await.ops" proposal aims to make promise collections easier.
How to find elements in a JavaScript array iterating from the end.
A snippet to detect and replace Emojis in JavaScript strings using Unicode property escapes.