Race Updates Discord About Merch
Home Profile History Competitions Texts Upgrade

typeracer

Pit Stop
Racer Naor Movshovitz (asiansnextdoor)
Race Number 1
Date Tue, 21 May 2024 5:11:35
Universe code
Speed 48 WPM Try to beat?
Accuracy 93%
Rank 1st 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)

Typing Review: