Y
Hacker News
new
|
ask
|
show
|
jobs
by
rattray
3223 days ago
There are other options, closer to what you're looking for. Try
Object.entries(dict).forEach(fn)
Or
_.entries(dict).forEach(fn)