forked from exercism/javascript
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathreact.js
More file actions
34 lines (28 loc) · 841 Bytes
/
Copy pathreact.js
File metadata and controls
34 lines (28 loc) · 841 Bytes
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
//
// This is only a SKELETON file for the 'React' exercise. It's been provided as a
// convenience to get you started writing code faster.
//
export class InputCell {
constructor(value) {
throw new Error('Remove this statement and implement this function');
}
setValue(value) {
throw new Error('Remove this statement and implement this function');
}
}
export class ComputeCell {
constructor(inputCells, fn) {
throw new Error('Remove this statement and implement this function');
}
addCallback(cb) {
throw new Error('Remove this statement and implement this function');
}
removeCallback(cb) {
throw new Error('Remove this statement and implement this function');
}
}
export class CallbackCell {
constructor(fn) {
throw new Error('Remove this statement and implement this function');
}
}