diff options
Diffstat (limited to 'includes/external/school/node_modules/lodash/stubObject.js')
-rw-r--r-- | includes/external/school/node_modules/lodash/stubObject.js | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/includes/external/school/node_modules/lodash/stubObject.js b/includes/external/school/node_modules/lodash/stubObject.js new file mode 100644 index 0000000..1d190a1 --- /dev/null +++ b/includes/external/school/node_modules/lodash/stubObject.js @@ -0,0 +1,23 @@ +/** + * 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; |