Introduction
You’ll learn about the topics this chapter contains, which include variable declaration using let and const.
We'll cover the following...
Before we begin, I have a question for you. How many variables did you declare in your code yesterday? It doesn’t matter what language you were writing. Was it ten? A hundred? How about over the last week? Last month? Probably a lot.
Now think about how many variables you read yesterday. Maybe you read your own code, or maybe you were skimming someone else’s. Did you see a hundred variables? a thousand? Chances are, you don’t have a clue.
Now if I asked you how many curried functions you saw yesterday, I bet you’d know the answer. I can tell you that I saw exactly one curried function yesterday. I ...