Race Result Details |
| Racer | Rosslan Koulli (rosskoulli) |
| Race Number | 2 |
| Date | Wed, 29 Jan 2025 10:09:12 |
| Universe | code |
| Speed |
40 WPM
Try to beat?
|
| Accuracy | 93.3% |
| Rank | 2nd 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)
|
