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 |
---|---|---|---|
206 | 2020-02-10 13:18:03 | 31.10 | 93% |
197 | 2020-02-06 15:30:12 | 31.45 | 93% |
87 | 2019-11-28 15:34:20 | 26.45 | 93% |