You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
var hasOwnProp = require('./hasOwnProp')
|
|
|
|
function objectEach (obj, iterate, context) {
|
|
if (obj) {
|
|
for (var key in obj) {
|
|
if (hasOwnProp(obj, key)) {
|
|
iterate.call(context, obj[key], key, obj)
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
module.exports = objectEach
|
|
|