Update README.md

This commit is contained in:
Jen Looper
2020-11-10 09:46:29 -05:00
committed by GitHub
parent 1d81829ac1
commit 7cfac0ca2c

View File

@@ -73,7 +73,7 @@ Closures are useful when one or more functions need to access an outer function'
```javascript ```javascript
function displayCandy(){ function displayCandy(){
let candy = ['jellybeans]; let candy = ['jellybeans'];
function addCandy(candyType) { function addCandy(candyType) {
candy.push(candyType) candy.push(candyType)
} }