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 |
---|---|---|---|
32 | 2023-09-21 18:27:27 | 29.77 | 93.3% |
11 | 2023-08-25 09:02:18 | 31.69 | 93.2% |
6 | 2023-08-25 08:45:25 | 26.88 | 93.6% |