schnee effeckt und fehler Korektur
This commit is contained in:
12
node_modules/ext/docs/object/clear.md
generated
vendored
Normal file
12
node_modules/ext/docs/object/clear.md
generated
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
# `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); // []
|
||||
```
|
||||
13
node_modules/ext/docs/promise/limit.md
generated
vendored
Normal file
13
node_modules/ext/docs/promise/limit.md
generated
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
# `Promise.limit` _(ext/promise/limit)_
|
||||
|
||||
Helps to limit concurrency of asynchronous operations.
|
||||
|
||||
```javascript
|
||||
const limit = require("ext/promise/limit").bind(Promise);
|
||||
|
||||
const limittedAsyncFunction = limit(2, asyncFunction);
|
||||
|
||||
imittedAsyncFunction(); // Async operation started
|
||||
imittedAsyncFunction(); // Async operation started
|
||||
imittedAsyncFunction(); // On hold until one of previously started finalizes
|
||||
```
|
||||
9
node_modules/ext/docs/string_/camel-to-hyphen.md
generated
vendored
Normal file
9
node_modules/ext/docs/string_/camel-to-hyphen.md
generated
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
# `string.camelToHyphen()` _(ext/string\_/camel-to-hyphen)_
|
||||
|
||||
Convert camelCase string to hyphen separated, e.g. `oneTwoThree` into `one-to-three`. Useful when converting names from js property convention into filename convention.
|
||||
|
||||
```javascript
|
||||
const camelToHyphen = require("ext/string_/camelToHyphen");
|
||||
|
||||
camelToHyphen.call("razDwaTrzy"); // raz-dwa-trzy
|
||||
```
|
||||
9
node_modules/ext/docs/string_/capitalize.md
generated
vendored
Normal file
9
node_modules/ext/docs/string_/capitalize.md
generated
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
# `string.capitalize()` _(ext/string\_/capitalize)_
|
||||
|
||||
Capitalize input string, e.g. convert `this is a test` into `This is a test`.
|
||||
|
||||
```javascript
|
||||
const capitalize = require("ext/string_/capitalize");
|
||||
|
||||
capitalize.call("this is a test"); // This is a test
|
||||
```
|
||||
Reference in New Issue
Block a user