Skip to content

Commit 78c1cce

Browse files
committed
workedoutsomeKinks
1 parent e6537e9 commit 78c1cce

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

assignments/closure.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,12 @@ function simpleClosure(name){
77
function peanutButterandJelly(bread){
88
console.log(`no? ok ${name}, see ya later ${bread}.`)
99
}
10+
peanutButterandJelly('life')
1011
}
12+
cheeseAndCrackers('balls');
1113
}
1214

15+
simpleClosure('sue')
1316

1417

1518
// ==== Challenge 2: Create a counter function ====

0 commit comments

Comments
 (0)