Projekt

Obecné

Profil

Stáhnout (319 Bajtů) Statistiky
| Větev: | Revize:
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
};
(3-3/4)