Duration: 15:29 min
Summary: In this lesson, we will learn about the switch statement and spacing. We will start with switch and see how to create a function that provides us the type of object that we pass as a parameter. To do so, we will look at the object constructor and do a switch on the objects we support. Then, we will see how to return the appropriate day using a similar switch concept. Finally, we will look at the usage of letter spacing, word spacing, and pre-wrap and how they impact the content.