3 ms·
It's a lot more verbose than _.mapValues() is, but it's nice to have a relatively simple solution without using a library.
by STRML 7y ago
It's a lot more verbose than _.mapValues() is, but it's nice to have a relatively simple solution without using a library.