blob: 9657550504ef8537463d7b8c63269be4a5e44328 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
/*!
* for-in <https://github.com/jonschlinkert/for-in>
*
* Copyright (c) 2014-2016, Jon Schlinkert.
* Licensed under the MIT License.
*/
'use strict';
module.exports = function forIn(o, fn, thisArg) {
for (var key in o) {
if (fn.call(thisArg, o[key], key, o) === false) {
break;
}
}
};
|