Skip to content

Commit

Permalink
remove quotes from snippets to reflect exact log output
Browse files Browse the repository at this point in the history
  • Loading branch information
bal360 committed Mar 31, 2021
1 parent 01a4e8e commit ca2aa40
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ Add the following to `index.js`, after the function declaration:
sayHello();
```

Now when you execute the code, you should see `'Hello!'` printed in the
Now when you execute the code, you should see `Hello!` printed in the
terminal!

![it's working](https://i.giphy.com/BoBOKNtlR8rTi.gif)
Expand Down Expand Up @@ -129,7 +129,7 @@ function sayHelloToSofia() {
}
```

When we can call it, we should see "Hello, Sofia!" written out in the terminal.
When we can call it, we should see `Hello, Sofia!` written out in the terminal.

Okay, now we're going to say hello to Brendan — you know the drill!

Expand Down Expand Up @@ -176,7 +176,7 @@ function doSomething(thing) {
doSomething('anything'); // passing the argument 'anything' into our function
```

Try this out with a few different arguments. you'll see that whatever value we
Try this out with a few different arguments. You'll see that whatever value we
pass in when we _call_ the function is what the function logs. Pretty cool,
right?

Expand Down Expand Up @@ -334,8 +334,8 @@ function say(greeting, firstName) {
}
```

Now when we call `console.log(say("Hello", "Sofia"));` we'll see `"Hello,
Sofia!"`, just as we did before. But what if we try logging the result of
Now when we call `console.log(say("Hello", "Sofia"));` we'll see `Hello,
Sofia!`, just as we did before. But what if we try logging the result of
calling the _original_ version of the function:

```js
Expand Down

0 comments on commit ca2aa40

Please sign in to comment.