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 |
---|---|---|---|
22 | 2024-05-27 21:07:41 | 44.95 | 95.9% |
14 | 2024-05-18 20:55:58 | 45.85 | 97.1% |
9 | 2024-05-15 01:46:00 | 40.70 | 94.9% |