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 |
---|---|---|---|
45 | 2024-01-22 02:07:35 | 43.97 | 93.7% |
33 | 2024-01-16 02:58:45 | 50.68 | 97.4% |
23 | 2024-01-11 02:31:06 | 53.93 | 97.7% |