Race Result Details | 
      
    
| Racer | JS (js_official) | 
| Race Number | 22 | 
| Date | Fri, 31 Oct 2025 5:22:32 | 
| Universe | code | 
| Speed | 
          22 WPM
          
             Try to beat?
          
         | 
      
| Accuracy | 92.4% | 
| 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)
         | 
      
