Skip to content

Commit 7c951ac

Browse files
committed
More clarification on closures
1 parent 11b39ab commit 7c951ac

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

assignments/closure.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
// ==== Challenge 1: Write your own closure ====
2-
// Write a simple closure of your own creation. Keep it simple!
2+
// Write a closure of your own creation.
3+
// Keep it simple! Remember a closure is just a function
4+
// that manipulates variables defined in the outer scope.
5+
// The outer scope can be a parent function, or the top level of the script.
36

47

58
/* STRETCH PROBLEMS, Do not attempt until you have completed all previous tasks for today's project files */

0 commit comments

Comments
 (0)