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 | 2024-08-17 04:38:15 | 41.49 | 94.8% |
16 | 2024-08-17 04:34:14 | 42.87 | 95.6% |
14 | 2024-08-07 20:31:51 | 36.90 | 96.3% |