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 |
---|---|---|---|
48 | 2024-01-02 16:29:04 | 50.16 | 96.8% |
32 | 2023-07-21 16:42:12 | 41.60 | 95.9% |
14 | 2023-06-08 19:07:56 | 43.09 | 94.4% |