Programming — Classes

Advanced · ~1 min · Target 54 WPM · 150 XP

WPM
0
Accuracy
100%
Errors
0
Combo
0
Time
0s
class Point { constructor(x, y) { this.x = x; this.y = y; } } const items = [1, 2, 3, 4, 5]; const doubled = items.map((n) => n * 2);
Start typing — the timer begins on your first keystroke.