remove node_modules and .gitignore them
This commit is contained in:
-12
@@ -1,12 +0,0 @@
|
||||
# `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); // []
|
||||
```
|
||||
-11
@@ -1,11 +0,0 @@
|
||||
# `Object.entries` _(ext/object/entries)_
|
||||
|
||||
[Object.entries](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/entries) implementation.
|
||||
|
||||
Returns native `Object.entries` if it's implemented, otherwise library implementation is returned
|
||||
|
||||
```javascript
|
||||
const entries = require("ext/object/entries");
|
||||
|
||||
entries({ foo: "bar" }); // [["foo", "bar"]]
|
||||
```
|
||||
Reference in New Issue
Block a user