Race Result Details |
| Racer | rurururu (rurururuyaruurur) |
| Race Number | 2 |
| Date | Tue, 25 Feb 2025 15:39:07 |
| Universe | code |
| Speed |
39 WPM
Try to beat?
|
| Accuracy | 95.8% |
| Rank | 1st place (out of 4) |
| Opponents | fodsdj (2nd 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)
|
