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 |
---|---|---|---|---|
1049. | divyanshu maurya (divyanshu... | 22.62 | 96% | 2023-07-13 |
1050. | Michael (890michael) | 22.61 | 89% | 2024-02-12 |
1051. | Zane (slvnted) | 22.47 | 90% | 2024-05-20 |
1052. | Kyrillos (kyrillos_akram) | 22.19 | 94% | 2023-05-26 |
1053. | dfwCraig (dfwcraig) | 21.84 | 92% | 2023-11-14 |
1054. | awet (awetey) | 21.72 | 93% | 2024-01-14 |
1055. | nobin sutradhar (nobin_sutr... | 21.58 | 95% | 2023-09-23 |
1056. | jo (johnad) | 20.89 | 93% | 2023-07-02 |
1057. | Psyclone (_psyclone_) | 20.86 | 89% | 2023-11-24 |
1058. | Enock (enockmutanga01) | 20.82 | 92% | 2023-09-08 |
1059. | CHSR (chsr) | 20.76 | 93% | 2023-06-06 |
1060. | Marko (hawk691) | 20.34 | 94% | 2024-02-13 |
1061. | wkn1 (wkn1) | 20.33 | 91% | 2024-02-08 |
1062. | Ludger (ludger) | 20.30 | 90.5% | 2023-12-04 |
1063. | lluis (lluissuros) | 20.03 | 91.1% | 2024-01-17 |
1064. | New racer (protostarx) | 20.01 | 93% | 2024-04-27 |
1065. | Md (imti_23) | 19.98 | 94% | 2023-06-20 |
1066. | t yszm (closets) | 19.66 | 93% | 2023-10-01 |
1067. | Ahmad (ahmadreza22) | 19.34 | 90% | 2023-10-20 |
1068. | tstats[kevinsmemory] (kevin... | 19.05 | 89% | 2023-12-18 |
1069. | Aslam (hasnu) | 18.96 | 93% | 2023-07-09 |
1070. | Aman (aman_babu_hemant) | 18.13 | 97% | 2020-12-03 |
1071. | Kipkirui (iurik34_themah) | 18.00 | 94% | 2023-12-16 |
1072. | rev (revu) | 17.37 | 95% | 2023-07-27 |
1073. | anwar (anwar_999) | 17.08 | 97% | 2023-10-16 |
1074. | Nirro (nirro) | 16.88 | 90% | 2024-02-16 |
1075. | Tahmid (tarmine) | 16.26 | 90% | 2024-04-23 |
1076. | Abhinandan (abhinandan_12) | 15.93 | 90% | 2020-12-06 |
1077. | Bov (bovdaboat) | 15.70 | 90% | 2024-03-12 |
1078. | Abhi :) (a_bhi) | 15.36 | 92% | 2023-12-15 |
Universe | Races | Average WPM | First Race |
---|---|---|---|
Coder Edition | 2,564 | 51.06 | October 4, 2018 |