-
Notifications
You must be signed in to change notification settings - Fork 5
/
TODO
113 lines (95 loc) · 1.96 KB
/
TODO
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
## Compatibility
[] nodejs version
[] brower
## pudding
[] methods `reduce*` returns a prraypromise or prray when initialValue is a prray.
[] methods `reduce*` compatibility
## Features
### Async controls
[] concurrency
[] retries
[] fallback
[] defaults
### Complain of normal array???
[] safely reverse()
### Useful methods???
[] compact
------------------------------------------------------------
## Project polish
[x] Add types for all of methods
[x] Add real-world tests
[x] Set ts mode to strict
## Implement methods
[x] Array.prototype.concat()
[x] Array.prototype.copyWithin()
[x] Array.prototype.entries()
[x] Array.prototype.every()
[x] Array.prototype.fill()
[x] Array.prototype.filter()
[x] Array.prototype.find()
[x] Array.prototype.findIndex()
[xx] Array.prototype.flat()
[xx] Array.prototype.flatMap()
[x] Array.prototype.forEach()
[x] Array.prototype.includes()
[x] Array.prototype.indexOf()
[x] Array.prototype.join()
[x] Array.prototype.keys()
[x] Array.prototype.lastIndexOf()
[x] Array.prototype.map()
[x] Array.prototype.pop()
[x] Array.prototype.push()
[x] Array.prototype.reduce()
[x] Array.prototype.reduceRight()
[x] Array.prototype.reverse()
[x] Array.prototype.shift()
[x] Array.prototype.slice()
[x] Array.prototype.some()
[x] Array.prototype.sort()
[x] Array.prototype.splice()
[x] Array.prototype.toLocaleString()
[xx] Array.prototype.toSource()
[x] Array.prototype.toString()
[x] Array.prototype.unshift()
[x] Array.prototype.values()
## Document methods
[x] mapAsync<U>
[x] filterAsync
[x] reduceAsync
[x] reduceRightAsync
[x] sortAsync
[x] findAsync
[x] findIndexAsync
[x] everyAsync
[x] someAsync
[x] forEachAsync
[x] slice
[x] map<U>
[x] filter
[x] find
[x] findIndex
[x] every
[x] some
[x] includes
[x] indexOf
[x] lastIndexOf
[x] join
[x] keys
[x] values
[x] entries
[x] fill
[x] sort
[x] concat
[x] copyWithin
[x] toString
[x] toLocaleString
[x] forEach
[x] pop
[x] push
[x] reverse
[x] reduce
[x] reduceRight
[x] shift
[x] unshift
[x] splice
[x] toArray