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 |
---|---|---|---|
18 | 2023-08-14 11:46:42 | 44.01 | 95% |
11 | 2023-08-13 14:45:05 | 37.02 | 95.7% |
3 | 2023-08-13 11:17:46 | 43.10 | 97.3% |