3 ms·
After getting used to .map() and .forEach() in JS, I have become far more fond of those methods than for loops.
by ZephyrBlu 6y ago
After getting used to .map() and .forEach() in JS, I have become far more fond of those methods than for loops.
- potta_coffee 6y agoI used those methods too, but I don't have the dogmatic opinion that loops are not "clean code".