3 ms·
I have noticed that ES6+ is a lot more functional, so there’s a lot more map/reduce stuff in modern Javascript. Although it’s definitely more succinct than the
by commandlinefan 8y ago
I have noticed that ES6+ is a lot more functional, so there’s a lot more map/reduce stuff in modern Javascript. Although it’s definitely more succinct than the equivalent for loop implementations, I often find myself having to copy and paste it somewhere else and run it in stages to see what it’s doing whereas with the for loop variation, I could just step through the actual code as is with a debugger to make sense of it.