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 206
Rank Username WPM Accuracy Date
1. (sidd_) 133.59 100% 2019-01-27
2. Sean Wrona (arenasnow) 127.82 99% 2019-02-14
3. GINOO AND FLANEUR I LOVE YO... 123.89 99% 2019-07-20
4. Leon (leonzalion) 123.51 98% 2021-08-01
5. Leonidas (awsomaw) 113.29 97% 2019-03-22
6. im slo (landarian) 111.27 99% 2020-05-19
7. broken L shift (spondulix) 110.72 99% 2019-08-16
8. Eugene (e6f4e37l) 109.14 98% 2021-07-04
9. r (deroche1) 108.61 97% 2019-02-19
10. permil (permil) 108.52 100% 2019-02-25
11. Shutaro Takimoto (w_h_) 106.81 99% 2019-02-26
12. β…€ielle (arc_sec) 106.71 99% 2019-08-08
13. LeSirH (lesirh) 103.79 98% 2020-12-19
14. tanon (tanon710s) 99.24 98% 2019-02-25
15. (delirious) 96.20 100% 2019-02-01
16. (keegant) 95.51 97% 2019-07-20
17. 🀺 (turboflames) 85.07 97% 2021-06-27
18. οΌΆο½ο½Œο½ˆο½ο½“ο½‰ο½“ (v... 84.26 98% 2018-11-19
19. purplefr|ction (tesla_diesel) 84.07 98% 2021-04-20
20. p (styrofoam) 83.92 98% 2018-10-31
21. Sporcle (sporcle) 82.70 97% 2019-06-10
22. Karan Jain (karanjain18) 81.93 98% 2021-07-24
23. (poke1) 80.92 98% 2021-09-02
24. (boy_314) 80.63 98% 2019-10-17
25. Liebesschmerz (poem) 79.65 96% 2021-09-02
26. :) (bavadin) 79.64 98% 2020-09-01
27. alieb (alieb) 78.50 94.4% 2021-02-01
28. μ•ˆλ“œλ ˆμ•„ (o________o) 78.43 96% 2020-09-15
29. SalmanMKC (Salman Chishti) ... 78.41 98% 2021-08-24
30. β›§πŸ¦‡πŸŽƒπŸ’€πŸŽƒπŸ¦‡β›§ ... 78.23 96% 2019-07-29

Universes

Universe Races Average WPM First Race
Coder Edition 674 60.60 October 4, 2018