Text #10015

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

Leaders

View ranks through of 1,919
Rank Username WPM Accuracy Date
1003. no (prtlai) 41.50 96% 2023-07-14
1004. Raven (kfaulk1216) 41.49 94% 2020-11-28
1005. fastboi (ooofooo) 41.47 94% 2023-11-19
1006. Hamza (hamza_kalash) 41.42 93% 2023-06-14
1007. Ghost (thelegend72) 41.40 95% 2023-03-15
1008. Tyler (exilereject) 41.33 94% 2023-06-01
1009. riddle (riddlee) 41.29 96% 2019-07-24
1010. markraken (markraken) 41.29 96% 2023-05-28
1011. Rosslan Koulli (rosskoulli) 41.25 94% 2025-01-29
1012. Rick (rickdicker) 41.20 92% 2025-01-22
1013. Glorman (glorman) 41.16 95% 2024-12-19
1014. Novadeluxe (fuccboy420) 41.15 95% 2024-12-15
1015. mukr (heager) 41.12 98% 2023-02-09
1016. kynmp (rng2036) 41.10 96% 2024-12-08
1017. Syit (syit) 41.09 94% 2024-05-03
1018. ashok (ashokkasi) 41.08 96% 2021-11-06
1019. mirian (mar08) 41.07 96% 2025-05-30
1020. ligma balls (bigvkie) 41.07 94% 2023-05-30
1021. tstats[majedhmoud] (majedhm... 41.04 94% 2024-01-04
1022. Platipuss (dhrubv) 40.99 94% 2025-04-01
1023. John (knickknackz) 40.98 93% 2023-07-19
1024. Arne (arnihilator) 40.94 93% 2023-07-30
1025. Pranav Abraham (pranavabe) 40.87 93% 2023-07-05
1026. YAZ (yazaitee) 40.84 95% 2024-08-13
1027. jht (jht0) 40.71 96% 2024-04-05
1028. Ron (rondalla) 40.70 95% 2020-12-22
1029. rides.reversed.mildest (rid... 40.67 94% 2024-12-04
1030. mibsahn (mibsahn) 40.67 94% 2023-07-14
1031. Nameless (plot_da_pro) 40.59 94% 2023-07-05
1032. (l)Knoch (lkoch) 40.56 92% 2024-01-01

Universes

Universe Races Average WPM First Race
Coder Edition 5,378 48.21 October 4, 2018