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.'; } }
—from Throw, a other by http://www.javascriptbook.com
Active since October 4, 2018.
301 total characters in this text.
View Pit Stop page for this text
Rank | Username | WPM | Accuracy | Date |
---|---|---|---|---|
1087. | Aslam (hasnu) | 18.96 | 93% | 2023-07-09 |
1088. | Aman (aman_babu_hemant) | 18.13 | 97% | 2020-12-03 |
1089. | Kipkirui (iurik34_themah) | 18.00 | 94% | 2023-12-16 |
1090. | rev (revu) | 17.37 | 95% | 2023-07-27 |
1091. | anwar (anwar_999) | 17.08 | 97% | 2023-10-16 |
1092. | Nirro (nirro) | 16.88 | 90% | 2024-02-16 |
1093. | Tahmid (tarmine) | 16.26 | 90% | 2024-04-23 |
1094. | Abhinandan (abhinandan_12) | 15.93 | 90% | 2020-12-06 |
1095. | Bov (bovdaboat) | 15.70 | 90% | 2024-03-12 |
1096. | Abhi :) (a_bhi) | 15.36 | 92% | 2023-12-15 |
1097. | Nikhil (nikhilchhabra) | 14.83 | 92% | 2023-12-23 |
1098. | ritik (karlos_nikov) | 14.40 | 91% | 2023-08-02 |
1099. | Claire (claire_07) | 13.57 | 94% | 2023-07-03 |
1100. | Obaidullah (obaidqarqin) | 13.51 | 89% | 2024-03-06 |
1101. | Keem Kairi (k33m_k4r1) | 13.03 | 90% | 2024-04-16 |
1102. | Kirti Pogra (kra09) | 12.72 | 87% | 2023-06-15 |
1103. | yrsntei (yrsntei) | 12.48 | 85.8% | 2024-01-27 |
1104. | Candle_Learner (candlelearner) | 12.04 | 89% | 2023-06-08 |
1105. | Žiga (zigaroz) | 8.14 | 92% | 2023-11-29 |
Universe | Races | Average WPM | First Race |
---|---|---|---|
Coder Edition | 2,564 | 51.06 | October 4, 2018 |