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 |
---|---|---|---|
38 | 2024-05-09 23:04:43 | 46.15 | 97% |
15 | 2024-04-30 22:12:56 | 41.76 | 96.1% |
10 | 2024-04-29 22:12:17 | 41.74 | 97% |