UNPKG

317 BJavaScriptView Raw
1/*!
2 * for-in <https://github.com/jonschlinkert/for-in>
3 *
4 * Copyright (c) 2014 Jon Schlinkert, contributors.
5 * Licensed under the MIT License
6 */
7
8'use strict';
9
10module.exports = function forIn(o, fn, thisArg) {
11 for (var key in o) {
12 if (fn.call(thisArg, o[key], key, o) === false) {
13 break;
14 }
15 }
16};
\No newline at end of file