Race Result Details |
| Racer | an (clockworkman) |
| Race Number | 94 |
| Date | Mon, 16 Sep 2024 9:38:01 |
| Universe | code |
| Speed |
28 WPM
Try to beat?
|
| Accuracy | 96.2% |
| Rank | 3rd place (out of 3) |
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)
|
