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 |
---|---|---|---|
11 | 2025-01-04 06:14:42 | 60.30 | 96.8% |
3 | 2024-03-09 09:37:17 | 48.34 | 94.5% |