MCPcopy
hub / github.com/lodash/lodash / emptyObject

Function emptyObject

test/test.js:421–425  ·  view source on GitHub ↗

* Removes all own enumerable string keyed properties from a given object. * * @private * @param {Object} object The object to empty.

(object)

Source from the content-addressed store, hash-verified

419 * @param {Object} object The object to empty.
420 */
421 function emptyObject(object) {
422 lodashStable.forOwn(object, function(value, key, object) {
423 delete object[key];
424 });
425 }
426
427 /**
428 * Extracts the unwrapped value from its wrapper.

Callers 1

test.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected