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 | 2024-08-05 14:32:47 | 62.04 | 97% |
9 | 2024-08-03 12:00:08 | 56.77 | 97% |
3 | 2024-07-27 02:28:08 | 55.82 | 96% |