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.'; } }
Game | Time | WPM | Accuracy |
---|---|---|---|
5 | 2024-02-29 08:37:38 | 39.67 | 97.7% |
3 | 2024-02-29 08:34:27 | 37.06 | 95.8% |
1 | 2024-02-29 08:30:47 | 34.05 | 95.9% |