Race Result Details |
Racer | mnuralif (mnuralif) |
Race Number | 4 |
Date | Tue, 4 Feb 2025 4:09:16 |
Universe | code |
Speed |
61 WPM
![]() |
Accuracy | 97.2% |
Rank | 1st place (out of 7) |
Opponents | andreasstanly (3rd place) fachrymaul (4th place) ibrahim_musa (2nd place) troides (5th place) |
Text typed:
function calculateArea(width, height) {
try {
var area = width * height;
if (!isNaN(area)) {
return area;
} else {
throw new Error('calculateArea() received invalid number');
}
} catch(e) {
console.log(e.name + ' ' + e.message);
return 'We were unable to calculate the area.';
}
}
— (other)
by http://www.javascriptbook.com
(see stats)
|