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 2,177
Rank Username WPM Accuracy Date
471. David (davidcaron) 57.50 97% 2022-11-02
472. Arian (ariankg) 57.47 96% 2024-03-20
473. Jessy (ttgh24201) 57.44 99% 2023-06-02
474. vishE (actuallynonquitforlife) 57.42 94% 2019-02-16
475. (noobtyperhehe) 57.33 94% 2025-09-29
476. yah-yeet (dingdong768) 57.32 95% 2020-12-03
477. (mr_angoose) 57.32 96.6% 2024-12-18
478. ⌨️🖱️ (t_0nio) 57.27 97% 2020-10-13
479. (wlee753159) 57.23 95% 2023-05-28
480. captcha at ghosting is geni... 57.05 96% 2023-03-27
481. c-helpme.run - Help me get ... 57.04 97% 2019-03-30
482. (neonnex) 57.03 95% 2024-08-18
483. (sparklehorse61) 57.01 94% 2024-06-06
484. (waldotheonlyone) 57.00 97% 2023-11-17
485. hiiampandora (pandora39) 56.99 98% 2019-03-07
486. (doanhong) 56.99 96% 2024-05-23
487. (lil_chicken) 56.89 97% 2023-07-25
488. amin (parich) 56.89 96% 2024-04-08
489. ghoudiy (ghoudiy) 56.83 96% 2023-06-10
490. (hlx1996) 56.80 96% 2025-12-26
491. ArifAli (testingyu) 56.71 97.7% 2024-10-08
492. (casey_2000) 56.69 96% 2024-07-26
493. (akaishuichi21) 56.59 95% 2023-09-18
494. (ovcina) 56.50 94% 2023-08-28
495. ruby (ruby_lu) 56.46 92.6% 2024-09-09
496. Nima (nanimonima) 56.38 94% 2023-09-14
497. (anonymousguest) 56.38 94% 2023-07-23
498. (xillionpro) 56.36 96% 2021-11-12
499. ishwarendra (ishwarendra) 56.35 96% 2023-04-16
500. Pramod (justpramod) 56.35 96.3% 2025-01-12

Universes

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