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,106
Rank Username WPM Accuracy Date
236. David (leepictrollexd) 60.50 95% 2020-11-20
237. Elizabeth (elizabethwei) 60.49 96% 2022-02-15
238. roberto.rodriguezarch (ytryy) 60.25 96% 2024-01-15
239. sndx (sndyb) 60.25 92% 2023-10-07
240. Chieh laptop (leejay8011piq) 60.18 98% 2023-09-19
241. Marshall (mmmooore) 60.08 95% 2019-12-11
242. N4T (taneel) 59.98 96% 2023-07-16
243. Owen (ofresia) 59.93 95% 2023-07-04
244. g (gamamer) 59.82 95.1% 2023-11-13
245. Alex (a_kaban) 59.82 99% 2024-05-22
246. Free Palestine (rollno14) 59.73 98% 2021-07-06
247. Inusah (inusah) 59.65 99% 2023-10-02
248. Colson (cols1) 59.63 97% 2023-06-28
249. Daniel (siichotic) 59.53 95% 2020-09-07
250. Laptop (dragoncityjose1738) 59.51 96% 2023-09-26
251. account deleted (xsession) 59.33 96% 2020-09-24
252. 👺 (confiscar) 59.26 94% 2023-08-18
253. Luka (the_lukec) 59.21 96% 2023-06-04
254. VÅ© (khanhyeuquan) 59.18 96% 2023-05-29
255. Caffebar kb lmao! (baccupacc) 59.14 93% 2022-07-01
256. Hello :) (chigginnuggie) 59.10 97.1% 2024-02-14
257. The don (photondestroyer) 58.99 97% 2023-01-24
258. issa (issa_) 58.99 95% 2023-08-07
259. Abby (aeheffington) 58.98 96% 2023-02-10
260. Manuel (manguy0705) 58.93 94% 2023-06-26
261. Lupi (thedogz) 58.80 94% 2024-03-13
262. medkha (medkhabt) 58.77 98% 2024-05-14
263. Jawahir (jawa_481) 58.74 97.7% 2023-11-12
264. Kit (yukit123) 58.74 99% 2023-12-08
265. unps (unps1235) 58.68 95% 2023-12-24

Universes

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