Solution explore-differences-between-the-var-and-let-keywords.english.md (#18752)

* Update explore-differences-between-the-var-and-let-keywords.english.md

* Improve JavaScript style
This commit is contained in:
Prabhat Kumar Sahu
2018-10-16 05:20:04 +05:30
committed by Todd Chaffee
parent 6cb1a95c72
commit 7d0212dfb8

View File

@ -69,6 +69,14 @@ catTalk();
<section id='solution'>
```js
// solution required
let catName;
let quote;
function catTalk() {
'use strict';
catName = 'Oliver';
quote = catName + ' says Meow!';
}
catTalk();
```
</section>