Update README.md

pull/1/head
Jen Looper 4 years ago committed by GitHub
parent 1d81829ac1
commit 7cfac0ca2c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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)
} }

Loading…
Cancel
Save