DEV Community

Discussion on: 17 Pro JavaScript tricks you didn't know

Collapse
 
rahxuls profile image
Rahul

Everyone has their own perspective sir.

Collapse
 
mcstepp profile image
Meg Stepp

No he meant your had typos in your variable names. You declared a "number" variable but referenced "numbers" (with an s) in your code examples. The code literally doesn't run.

Thread Thread
 
rahxuls profile image
Rahul

Agreed.