I have been using let
and const
instead of var
as I’ve seen this done in FCC previous sections, but in the Functional Programming I don’t see any let
s and const
s so far, it’s just var
s. I’m wondering if there’s a benefit to using var here, or is the section a bit outdated?
the curriculum has been developed in waves, some sections are older than others
it is moving to a project-based curriculum which will also make it more uniform
2 Likes