Mods/node_modules/for-in/index.js
oitsjustjose 6b60015c02 --
2017-02-26 17:06:42 -05:00

16 lines
311 B
JavaScript

/*!
* 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;
}
}
};