d2a7f02ee873afddddb620d96797f7eaff07f18f043e749a0db6cd3205f8217c13b2c9884ff6eb525f05df5d98b1372f356496df246d2a91e483260942b5ea 424 B

12345678910111213141516171819
  1. /*!
  2. * for-own <https://github.com/jonschlinkert/for-own>
  3. *
  4. * Copyright (c) 2014-2017, Jon Schlinkert.
  5. * Released under the MIT License.
  6. */
  7. 'use strict';
  8. var forIn = require('for-in');
  9. var hasOwn = Object.prototype.hasOwnProperty;
  10. module.exports = function forOwn(obj, fn, thisArg) {
  11. forIn(obj, function(val, key) {
  12. if (hasOwn.call(obj, key)) {
  13. return fn.call(thisArg, obj[key], key, obj);
  14. }
  15. });
  16. };