3 ms·
There are other options, closer to what you're looking for. Try Object.entries(dict).forEach(fn) Or _.entries(dict).forEach(fn)
by rattray 9y ago
There are other options, closer to what you're looking for. Try
Object.entries(dict).forEach(fn)
Or
_.entries(dict).forEach(fn)