Last change
on this file since ceaed42 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
456 bytes
|
Line | |
---|
1 | var baseFor = require('./_baseFor'),
|
---|
2 | keys = require('./keys');
|
---|
3 |
|
---|
4 | /**
|
---|
5 | * The base implementation of `_.forOwn` without support for iteratee shorthands.
|
---|
6 | *
|
---|
7 | * @private
|
---|
8 | * @param {Object} object The object to iterate over.
|
---|
9 | * @param {Function} iteratee The function invoked per iteration.
|
---|
10 | * @returns {Object} Returns `object`.
|
---|
11 | */
|
---|
12 | function baseForOwn(object, iteratee) {
|
---|
13 | return object && baseFor(object, iteratee, keys);
|
---|
14 | }
|
---|
15 |
|
---|
16 | module.exports = baseForOwn;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.