DEV Community

Discussion on: Fundamentals of Functional JavaScript

Collapse
 
costa86 profile image
Lourenço Costa

Man, this article is pure gold! It should be in a curated list for anyone who uses JS! I have not finished it, though. Is there any particular reason for the use of "var" over "let" or "const" in your samples provided?

Collapse
 
anmshpndy profile image
Animesh Pandey

Thanks! I appreciate it.

Choosing "var" / "let" / "const" wasn't really relevant to the concepts being explained, so I just went with the simple "var". No particular reason for it.