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:
		
				
					committed by
					
						 Todd Chaffee
						Todd Chaffee
					
				
			
			
				
	
			
			
			
						parent
						
							6cb1a95c72
						
					
				
				
					commit
					7d0212dfb8
				
			| @@ -69,6 +69,14 @@ catTalk(); | |||||||
| <section id='solution'> | <section id='solution'> | ||||||
|  |  | ||||||
| ```js | ```js | ||||||
| // solution required | let catName; | ||||||
|  | let quote; | ||||||
|  | function catTalk() { | ||||||
|  |   'use strict'; | ||||||
|  |  | ||||||
|  |   catName = 'Oliver'; | ||||||
|  |   quote = catName + ' says Meow!'; | ||||||
|  | } | ||||||
|  | catTalk(); | ||||||
| ``` | ``` | ||||||
| </section> | </section> | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user