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,014
Rank Username WPM Accuracy Date
1439. Psych (psychedout) 33.72 95% 2024-02-20
1440. murgahahaha (murgahahaha) 33.67 92.9% 2024-05-02
1441. pikky (piknic) 33.66 94% 2019-04-19
1442. Xaddre (xaddre) 33.66 94% 2023-07-02
1443. vlad (vlad_m) 33.65 92% 2024-07-04
1444. tsushima (tsushima) 33.64 93% 2024-07-13
1445. Alex (alexkexchoklad) 33.63 94% 2024-08-21
1446. djenga milji (volimzene) 33.61 93% 2024-12-04
1447. Sudhan (itzsudhan) 33.60 95% 2023-06-02
1448. Prince (princedhkl) 33.57 91% 2023-06-28
1449. jiy-workman (jiyworkman) 33.57 94% 2023-07-08
1450. Abdallh hatamleh (abdallh_h... 33.56 95% 2024-05-30
1451. sasquatch (sasquatchplatypus) 33.54 95% 2021-04-15
1452. GiveMeFox (givemefox) 33.52 93% 2023-05-29
1453. ThoughtWlaker1663 (thoughtw... 33.48 93% 2024-02-29
1454. BALGAN (Bale Ganteng) (andr... 33.46 94% 2024-01-18
1455. Isak (farbror_barbro) 33.42 93% 2023-07-01
1456. an (clockworkman) 33.42 97.7% 2024-06-23
1457. Shiba Tatsuya (animelover_) 33.39 96.3% 2024-09-21
1458. Erik (prince_erik) 33.39 93% 2023-07-30
1459. Vishesh (vishesh_patel) 33.38 94% 2023-05-26
1460. Cupra (cupra94) 33.37 94% 2024-04-28
1461. Mikachewww (mikachewww) 33.35 94% 2024-08-02
1462. skyworld (skyworld09) 33.34 92% 2024-06-26
1463. klee (klee918) 33.32 94% 2023-10-01
1464. into-the-abyss (_yash_) 33.30 92% 2023-07-16
1465. Raimundo (arlytos) 33.30 96% 2025-03-27
1466. alc0der (alc0der) 33.29 95.9% 2023-12-14
1467. Ipadplayer (ipad_player09) 33.29 97% 2023-07-09
1468. Bennet (bennet_) 33.28 93.6% 2023-10-29

Universes

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