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 |
---|---|---|---|
55 | 2020-04-11 11:55:02 | 50.82 | 97% |
50 | 2020-03-11 04:31:26 | 47.49 | 96% |
39 | 2020-02-12 04:54:32 | 44.61 | 98% |