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 |
|---|---|---|---|
| 10 | 2022-01-09 04:02:52 | 45.38 | 96% |
| 5 | 2022-01-09 03:49:12 | 40.05 | 96% |