Race Result Details |
| Racer | Jay Kolawala (jay_kolawala) |
| Race Number | 1 |
| Date | Mon, 20 Jan 2025 6:35:53 |
| Universe | code |
| Speed |
27 WPM
Try to beat?
|
| Accuracy | 95.5% |
| Rank | 2nd place (out of 3) |
| Opponents | madhav_1372 (3rd 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)
|
