UNPKG

imma

Version:

A collection of functions for dealing with native arrays and objects immutably

7 lines (6 loc) 137 B
'use strict' const forEach = module.exports = (object, fn) => { for (let key in object) { fn(object[key], key, object) } }