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 |
---|---|---|---|
3 | 2025-03-16 21:20:26 | 24.55 | 90.3% |
1 | 2025-03-16 21:16:13 | 23.40 | 91.8% |