Last change
on this file since bdd6491 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
319 bytes
|
Rev | Line | |
---|
[6a3a178] | 1 | /*!
|
---|
| 2 | * for-in <https://github.com/jonschlinkert/for-in>
|
---|
| 3 | *
|
---|
| 4 | * Copyright (c) 2014-2017, Jon Schlinkert.
|
---|
| 5 | * Released under the MIT License.
|
---|
| 6 | */
|
---|
| 7 |
|
---|
| 8 | 'use strict';
|
---|
| 9 |
|
---|
| 10 | module.exports = function forIn(obj, fn, thisArg) {
|
---|
| 11 | for (var key in obj) {
|
---|
| 12 | if (fn.call(thisArg, obj[key], key, obj) === false) {
|
---|
| 13 | break;
|
---|
| 14 | }
|
---|
| 15 | }
|
---|
| 16 | };
|
---|
Note:
See
TracBrowser
for help on using the repository browser.