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,122
Rank Username WPM Accuracy Date
68. alieb (alieb) 78.50 94.4% 2021-02-01
69. 안드레아 (o________o) 78.43 96% 2020-09-15
70. ⛧🦇🎃💀🎃🦇⛧ ... 78.23 96% 2019-07-29
71. da (causenetsofv) 77.99 99% 2020-12-07
72. (w1ns) 77.71 97% 2022-07-01
73. Warden (warden7383) 77.58 97% 2023-06-21
74. Amir (amirahmedimtiaz) 77.55 97% 2024-03-02
75. c4 (noobgalaxy) 77.46 97% 2020-12-23
76. zetria (primalknight) 77.35 96% 2020-07-22
77. mark (astraphilia) 77.18 97% 2023-11-24
78. Aren (tl8xv) 77.14 96% 2023-05-23
79. Kenny (hkennyv) 77.14 96% 2023-10-12
80. Andrew (andrewrademacher) 77.07 97% 2021-01-29
81. paraph (paraphrohn) 77.05 96% 2019-02-25
82. rip laoshu505000 (traben) 76.89 97% 2021-11-03
83. jse (dragoncityjose) 76.89 96.4% 2024-02-03
84. why (believeable) 76.84 98% 2024-05-01
85. 150 how? (minidraco) 76.75 97% 2023-10-09
86. PicturingFrames (frame_abil... 76.73 95% 2022-09-16
87. New Keyboard Struggle (rage... 76.59 98% 2022-07-09
88. BaniaTeAmo3 (camilin2002) 75.73 98% 2023-06-19
89. bob (ekizs) 75.72 96% 2024-04-10
90. ImBrayyy (imbrayyy01) 75.65 94% 2023-09-15
91. typerlad (typerlad) 75.61 99% 2020-08-13
92. 🌹パレスチナと🥀 ... 75.54 97% 2022-06-09
93. Boris (goat_56) 75.13 96% 2023-06-27
94. TimeLoad (timeload) 75.09 97% 2019-05-28
95. Michelle (michelleness) 75.09 96% 2020-11-19
96. deja vu (zight554) 75.03 97% 2022-03-01
97. Դավիթ (seyranyandavid) 74.94 98% 2022-01-09

Universes

Universe Races Average WPM First Race
Coder Edition 2,564 51.06 October 4, 2018