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 |
---|---|---|---|
100 | 2024-06-10 16:21:49 | 28.96 | 95.3% |
54 | 2024-05-26 15:57:30 | 21.46 | 95.6% |
22 | 2024-05-20 15:58:51 | 20.44 | 94.8% |