Skip to content

Commit 67d58ef

Browse files
committed
update wiki
1 parent 232aea9 commit 67d58ef

File tree

2 files changed

+17
-17
lines changed

2 files changed

+17
-17
lines changed

README.md

+16-16
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Methods as separate packages:
2727
<br>
2828

2929
```javascript
30-
const array = require("extra-array");
30+
const array = require('extra-array');
3131
// import * as array from "extra-array";
3232
// import * as array from "https://unpkg.com/[email protected]/index.mjs"; (deno)
3333

@@ -37,18 +37,18 @@ array.get(x, -1);
3737

3838
var x = [1, 2, 3, 4];
3939
array.swap(x, 0, 1);
40-
// [2, 1, 3, 4]
40+
// [2, 1, 3, 4]
4141

4242
var x = [1, 2, 3, 4];
4343
array.rotate(x, 1);
44-
// [4, 1, 2, 3]
44+
// [4, 1, 2, 3]
4545

4646
var x = [1, 3, 5, 7];
4747
array.bsearch(x, 5);
4848
// 2 ^ found
4949

5050
[...array.permutations([1, 2, 3])];
51-
// [
51+
// [
5252
// [], [ 1 ],
5353
// [ 2 ], [ 3 ],
5454
// [ 1, 2 ], [ 1, 3 ],
@@ -108,12 +108,12 @@ array.bsearch(x, 5);
108108
| [isUnique] | Checks if there are no duplicate values. |
109109
| [isDisjoint] | Checks if arrays have no value in common. |
110110
| |
111-
| [value] | Picks an arbitrary value. |
112-
| [prefix] | Picks an arbitrary prefix. |
113-
| [infix] | Picks an arbitrary infix. |
114-
| [suffix] | Picks an arbitrary suffix. |
115-
| [subsequence] | Picks an arbitrary subsequence. |
116-
| [permutation] | Picks an arbitrary permutation. |
111+
| [randomValue] | Picks an arbitrary value. |
112+
| [randomPrefix] | Picks an arbitrary prefix. |
113+
| [randomInfix] | Picks an arbitrary infix. |
114+
| [randomSuffix] | Picks an arbitrary suffix. |
115+
| [randomSubsequence] | Picks an arbitrary subsequence. |
116+
| [randomPermutation] | Picks an arbitrary permutation. |
117117
| |
118118
| [isEqual] | Checks if two arrays are equal. |
119119
| [compare] | Compares two arrays. |
@@ -150,7 +150,7 @@ array.bsearch(x, 5);
150150
[group]: https://github.com/nodef/extra-array/wiki/group
151151
[index]: https://github.com/nodef/extra-array/wiki/index
152152
[indexRange]: https://github.com/nodef/extra-array/wiki/indexRange
153-
[infix]: https://github.com/nodef/extra-array/wiki/infix
153+
[randomInfix]: https://github.com/nodef/extra-array/wiki/infix
154154
[interleave]: https://github.com/nodef/extra-array/wiki/interleave
155155
[intersection]: https://github.com/nodef/extra-array/wiki/intersection
156156
[is]: https://github.com/nodef/extra-array/wiki/is
@@ -161,8 +161,8 @@ array.bsearch(x, 5);
161161
[max]: https://github.com/nodef/extra-array/wiki/max
162162
[min]: https://github.com/nodef/extra-array/wiki/min
163163
[partition]: https://github.com/nodef/extra-array/wiki/partition
164-
[permutation]: https://github.com/nodef/extra-array/wiki/permutation
165-
[prefix]: https://github.com/nodef/extra-array/wiki/prefix
164+
[randomPermutation]: https://github.com/nodef/extra-array/wiki/permutation
165+
[randomPrefix]: https://github.com/nodef/extra-array/wiki/prefix
166166
[range]: https://github.com/nodef/extra-array/wiki/range
167167
[repeat]: https://github.com/nodef/extra-array/wiki/repeat
168168
[reverse]: https://github.com/nodef/extra-array/wiki/reverse
@@ -173,11 +173,11 @@ array.bsearch(x, 5);
173173
[sort]: https://github.com/nodef/extra-array/wiki/sort
174174
[splice]: https://github.com/nodef/extra-array/wiki/splice
175175
[split]: https://github.com/nodef/extra-array/wiki/split
176-
[subsequence]: https://github.com/nodef/extra-array/wiki/subsequence
177-
[suffix]: https://github.com/nodef/extra-array/wiki/suffix
176+
[randomSubsequence]: https://github.com/nodef/extra-array/wiki/subsequence
177+
[randomSuffix]: https://github.com/nodef/extra-array/wiki/suffix
178178
[swap]: https://github.com/nodef/extra-array/wiki/swap
179179
[union]: https://github.com/nodef/extra-array/wiki/union
180180
[unique]: https://github.com/nodef/extra-array/wiki/unique
181181
[zip]: https://github.com/nodef/extra-array/wiki/zip
182182
[size]: https://github.com/nodef/extra-array/wiki/size
183-
[value]: https://github.com/nodef/extra-array/wiki/value
183+
[randomValue]: https://github.com/nodef/extra-array/wiki/value

wiki

Submodule wiki updated from 390fdb2 to a29a6b8

0 commit comments

Comments
 (0)