UNPKG
check-ethereum-scanner
Version:
latest (1.0.2)
1.0.2
1.0.1
1.0.0
Safety checks for new Ethereum tokens
check-ethereum-scanner
/
Ethereum-Renounced-Contract-Scanner
/
node_modules
/
ext
/
docs
/
object
/
clear.md
13 lines
(8 loc)
•
232 B
Markdown
View Raw
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);
// []
```