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 |
---|---|---|---|
2 | 2025-03-02 15:15:39 | 28.62 | 91% |
1 | 2025-02-16 12:09:22 | 27.57 | 91.7% |