Spaces:
Runtime error
Runtime error
File size: 232 Bytes
b5ea024 |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
# `Object.clear` _(ext/object/clear)_
Deletes all own, enumerable, non-symbol properties in the object
```javascript
const clear = require("ext/object/clear");
const obj = { foo: "bar" };
clear(obj);
Object.keys(obj); // []
```
|