Sha256: 4362303459fd4a044cae04bc4db25225e3f17010b5bddd7f5e9b387b52671072

Contents?: true

Size: 400 Bytes

Versions: 265

Compression:

Stored size: 400 Bytes

Contents

/**
 * This method returns a new empty object.
 *
 * @static
 * @memberOf _
 * @since 4.13.0
 * @category Util
 * @returns {Object} Returns the new empty object.
 * @example
 *
 * var objects = _.times(2, _.stubObject);
 *
 * console.log(objects);
 * // => [{}, {}]
 *
 * console.log(objects[0] === objects[1]);
 * // => false
 */
function stubObject() {
  return {};
}

module.exports = stubObject;

Version data entries

265 entries across 263 versions & 30 rubygems

Version Path
trusty-cms-6.3.1 node_modules/lodash/stubObject.js
immosquare-cleaner-0.1.51 node_modules/lodash/stubObject.js
boring_generators-0.15.0 tmp/templates/app_template/node_modules/lodash/stubObject.js
clapton-0.0.26 lib/clapton/javascripts/node_modules/lodash/stubObject.js
clapton-0.0.25 lib/clapton/javascripts/node_modules/lodash/stubObject.js
immosquare-cleaner-0.1.50 node_modules/lodash/stubObject.js
clapton-0.0.24 lib/clapton/javascripts/node_modules/lodash/stubObject.js
clapton-0.0.23 lib/clapton/javascripts/node_modules/lodash/stubObject.js
clapton-0.0.22 lib/clapton/javascripts/node_modules/lodash/stubObject.js
clapton-0.0.21 lib/clapton/javascripts/node_modules/lodash/stubObject.js
clapton-0.0.20 lib/clapton/javascripts/node_modules/lodash/stubObject.js
clapton-0.0.19 lib/clapton/javascripts/node_modules/lodash/stubObject.js
clapton-0.0.18 lib/clapton/javascripts/node_modules/lodash/stubObject.js
clapton-0.0.17 lib/clapton/javascripts/node_modules/lodash/stubObject.js
clapton-0.0.16 lib/clapton/javascripts/node_modules/lodash/stubObject.js
clapton-0.0.15 lib/clapton/javascripts/node_modules/lodash/stubObject.js
immosquare-cleaner-0.1.49 node_modules/lodash/stubObject.js
clapton-0.0.14 lib/clapton/javascripts/node_modules/lodash/stubObject.js
immosquare-cleaner-0.1.48 node_modules/lodash/stubObject.js
clapton-0.0.13 lib/clapton/javascripts/node_modules/lodash/stubObject.js