Text race history for patrykduda (patrykduda)

Back to text analysis page

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
5 2023-07-16 14:41:37 38.63 92.9%