0:45 Inside this logger simple object, I'm first going to add a prefix. This is what we're going to type in. VS Code is going to allow us to autogenerate this code for us.
1:02 Right below our prefix, we're going to add a description. I'm just going to say, function for logging values to the console. Most importantly, we're going to have this body property, which is going to be in an array. It's going to be the actual characters that we want this snippet to produce when we do run that prefix above.
1:28 I'm just going to say, const logger and logger's going to take a value. This is the first line. After that, we'll need to separate each line by commas. On the second line, I'm going to start this out by just spacing it four spaces away.
1:54 To even things out, I'm just going to say console.log and we're going to log the value that this function's taking. Below our console log, we're just going to return it. Again, each line is separated by our commas.
2:41 Right below on line 10, we can actually use this logger. If we run our file, we'll see that 20 is printed out for us as we're now logging the value.