Race Result Details |
Racer | Cristian Tacuri (cris1310) |
Race Number | 28 |
Date | Fri, 19 Sep 2025 16:14:21 |
Universe | code |
Speed |
20 WPM
![]() |
Accuracy | 90.5% |
Rank | 6th place (out of 5) |
Opponents | iverjoel (3rd place) jhony99 (2nd place) katpc (5th place) marco_soria (1st 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)
|