-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTasks.todo
More file actions
258 lines (258 loc) Β· 8.69 KB
/
Tasks.todo
File metadata and controls
258 lines (258 loc) Β· 8.69 KB
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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
--- β -----------------------
JSPHP:
--- β -----------------------
JSString:
β Core behaviour
β Function constructor
β Array and object coercion
β Characters access with array access syntax @done (23-12-10 21:23)
β Return null for negative and out of range indexes @done (30/12/2023 16:46:07)
β Support for string iterator that is used here iterates over characters ([...$string] requires PHP ^7.4) @cancelled (06/01/2024 01:32:42)
β Concatenate using the + and += string operators (use . and .= instead) @cancelled (06/01/2024 01:32:07)
β Static methods
β String.fromCharCode()
β String.fromCodePoint()
β String.raw()
β Instance properties
β length property
β Readonly constraint to length property @done (30/12/2023 16:37:49)
β Don't throw an error when attempt to reassign length property @done (30/12/2023 16:37:48)
β Emojis must have 2 code points (utf-8 have 4 points, but utf-16 have 2, but utf-16 reduce a half of every unicode character) @low
β Instance methods
β String.at()
β String.charAt()
β String.charCodeAt()
β String.codePointAt()
β String.concat() @done (24/01/2024 18:32:58)
β String.endsWith() @done (24/01/2024 19:37:04)
β String.includes() @done (24/01/2024 19:58:19)
β String.indexOf() @done (06/01/2024 03:00:36)
β When $searchString param be null or undefined, use 'undefined' @done (06/01/2024 02:03:07)
β String.isWellFormed()
β String.lastIndexOf() @done (24/01/2024 22:44:26)
β String.localeCompare()
β String.match()
β String.matchAll()
β String.normalize()
β String.padEnd() @done (24/01/2024 23:30:43)
β String.padStart()
β String.repeat()
β String.replace()
β String.replaceAll()
β String.search()
β String.slice()
β String.split()
β String.startsWith()
β String.substr() @done (01/07/2024 20:53:17)
β String.substring() @done (06/01/2024 16:00:51)
β String.toLocaleLowerCase()
β String.toLocaleUpperCase()
β String.toLowerCase() @done (6/12/2023, 0:45:36)
β String.toString() @done (23-12-30 16:12)
β String.toUpperCase() @done (6/12/2023, 0:45:33)
β String.toWellFormed()
β String.trim() @done (30/12/2023 16:53:34)
β String.trimEnd() @done (30/12/2023 16:53:38)
β String.trimStart() @done (30/12/2023 16:53:39)
β String.valueOf() @done (23-12-30 16:12)
--- β -----------------------
Boolean:
β Static properties @done (12/01/2024 13:07:07)
β Boolean.prototype @done (12/01/2024 13:07:06)
β Instance methods @done (12/01/2024 13:07:08)
β Boolean.toString() @done (12/01/2024 13:07:09)
β Boolean.valueOf() @done (12/01/2024 13:07:09)
--- β -----------------------
JSRegExp:
β Instance properties
β RegExp.dotAll
β RegExp.flags
β RegExp.global
β RegExp.hasIndices
β RegExp.ignoreCase
β RegExp.multiline
β RegExp.source
β RegExp.sticky
β RegExp.unicode
β RegExp.unicodeSets
β RegExp.lastIndex
β Instance methods
β RegExp.exec()
β RegExp.test()
β RegExp.toString()
--- β -----------------------
JSNumber:
β Static properties
β Number.EPSILON @done (24/01/2024 20:43:48)
β Number.MIN_VALUE @done (24/01/2024 20:44:44)
β Number.MAX_SAFE_INTEGER
β Number.MAX_VALUE
β Number.MIN_SAFE_INTEGER
β Number.NEGATIVE_INFINITY
β Number.POSITIVE_INFINITY
β Static methods
β Number.isFinite()
β Number.isInteger()
β Number.isNaN()
β Number.isSafeInteger()
β Number.parseFloat()
β Number.parseInt()
β Instance methods
β Number.toExponential()
β Number.toFixed()
β Number.toLocaleString()
β Number.toPrecision()
β Number.toString()
β Number.valueOf()
--- β -----------------------
JSArray:
β Core behaviour
β Posibility of add items and support different data types, (like a PHP Array)
β Support for access elements with an non negative integer index
β Integers as a string must be accepted too
β Support for zero-indexed (like a Python list)
β Support for shallow copies
β Static methods
β Array.from()
β Array.fromAsync()
β Array.isArray()
β Array.of()
β Instance properties @done (06/01/2024 21:53:09)
β Array.length @done (06/01/2024 21:53:09)
β Posibility of change the length property and create undefined slots or delete elements if it's necessary @done (06/01/2024 21:53:08)
β Instance methods
β Array.at()
β Array.concat()
β Array.copyWithin()
β Array.entries()
β Array.every()
β Array.fill()
β Array.filter()
β Array.find()
β Array.findIndex()
β Array.findLast()
β Array.findLastIndex()
β Array.flat()
β Array.flatMap()
β Array.forEach() @done (07/01/2024 00:26:33)
β Array.includes()
β Array.indexOf()
β Array.join()
β Array.keys()
β Array.lastIndexOf()
β Array.map()
β Array.pop()
β Array.push()
β Array.reduce()
β Array.reduceRight()
β Array.reverse()
β Array.shift()
β Array.slice()
β Array.some()
β Array.sort()
β Array.splice()
β Array.toLocaleString()
β Array.toReversed()
β Array.toSorted()
β Array.toSpliced()
β Array.toString()
β Array.unshift()
β Array.values()
β Array.with()
--- β -----------------------
JSFunction:
--- β -----------------------
JSObject:
--- β -----------------------
JSON:
β Core behaviour
β Make class no instantiable @done (23-12-10 19:20)
β Static methods
β JSON.parse()
β reviver parameter
β Run the reviver param with keys recursively iteration
β Create test for other data types (currently only test for strings) @done (4/12/2023, 20:50:09)
β JSON.stringify()
β Method signature overload for the replacer param @done (23-12-30 14:26)
--- β -----------------------
Math:
β Core behaviour @done (05/01/2024 14:41:14)
β Make class no instantiable @done (05/01/2024 14:41:09)
β Static properties @done (24/01/2024 18:05:09)
β Math.E @done (07/01/2024 11:20:16)
β Math.LN10 @done (07/01/2024 22:19:17)
β Math.LN2 @done (07/01/2024 23:30:09)
β Math.LOG10E @done (07/01/2024 23:30:09)
β Math.LOG2E @done (07/01/2024 23:30:10)
β Math.PI @done (07/01/2024 23:30:10)
β Math.SQRT1_2 @done (07/01/2024 23:30:12)
β Math.SQRT2 @done (07/01/2024 23:30:13)
β Static methods
β Math.abs() @done (01/07/2024 19:04:24)
β Math.acos()
β Math.acosh()
β Math.asin()
β Math.asinh()
β Math.atan()
β Math.atan2()
β Math.cbrt()
β Math.ceil() @done (01/07/2024 19:13:13)
β Math.clz32()
β Math.cos()
β Math.cosh()
β Math.exp()
β Math.expm1()
β Math.floor()
β Math.fround()
β Math.fmul()
β Math.log()
β Math.log10()
β Math.log1p()
β Math.log2()
β Math.max()
β Math.min()
β Math.pow()
β Math.random()
β Math.round()
β Math.sign()
β Math.sin()
β Math.sinh()
β Math.sqrt()
β Math.tan()
β Math.tanh()
β Math.trunc()
--- β -----------------------
console:
β Instance methods
β console.assert()
β console.clear()
β console.count()
β console.countReset()
β console.debug()
β console.dir()
β console.dirxml()
β console.error()
β console.group()
β console.groupCollapsed()
β console.groupEnd()
β console.info()
β console.log()
β console.table()
β console.time()
β console.timeEnd()
β console.timeLog()
β console.trace()
β console.warn()
--- β -----------------------
β undefined constant @done (23-12-10 21:20)
Global functions:
β parseInt()
β parseFloat()
Extras:
β 'use strict'
Tests:
β Write all javaScript tests
β Test against unexpected argument types on all classes
β Test toLowerCase() @done (30/12/2023 16:47:45)
β Test toUpperCase() @done (30/12/2023 16:47:44)
β Test abs() method