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 | 2023-07-15 19:20:24 | 50.64 | 97.4% |
21 | 2023-07-15 19:18:28 | 49.41 | 97.7% |
10 | 2023-07-08 17:31:22 | 43.55 | 96.5% |