diff --git a/README.md b/README.md index df1e601..1614ddd 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,6 @@ Code for Head First JavaScript Programming, by Elisabeth Robson and Eric Freeman. -To be published later in 2013. +Published in March, 2014. + +http://wickedlysmart.com/hfjs + diff --git a/appendix/JSON.html b/appendix/JSON.html new file mode 100644 index 0000000..f4c8276 --- /dev/null +++ b/appendix/JSON.html @@ -0,0 +1,25 @@ + + + + + JSON + + + + + diff --git a/appendix/arguments.html b/appendix/arguments.html new file mode 100644 index 0000000..9e83eb1 --- /dev/null +++ b/appendix/arguments.html @@ -0,0 +1,32 @@ + + + + + The arguments object + + + + + diff --git a/appendix/dom.html b/appendix/dom.html new file mode 100644 index 0000000..5e6b92b --- /dev/null +++ b/appendix/dom.html @@ -0,0 +1,35 @@ + + + + + Doing more with the DOM + + + + + + diff --git a/appendix/events.html b/appendix/events.html new file mode 100644 index 0000000..6ceffcb --- /dev/null +++ b/appendix/events.html @@ -0,0 +1,37 @@ + + + + + Handling events in IE8 and earlier + + + + +Click me! + + diff --git a/appendix/exceptions.html b/appendix/exceptions.html new file mode 100644 index 0000000..6f51e7c --- /dev/null +++ b/appendix/exceptions.html @@ -0,0 +1,22 @@ + + + + + Exception handling + + + +
+ + diff --git a/appendix/fibonacci.html b/appendix/fibonacci.html new file mode 100644 index 0000000..1579b92 --- /dev/null +++ b/appendix/fibonacci.html @@ -0,0 +1,22 @@ + + + + + Computing Fibonacci numbers recursively + + + + + diff --git a/appendix/jquery.html b/appendix/jquery.html new file mode 100644 index 0000000..03ccbdb --- /dev/null +++ b/appendix/jquery.html @@ -0,0 +1,29 @@ + + + + + Brief intro to jQuery + + + + + +
I'm a special offer
+ + diff --git a/appendix/listener.html b/appendix/listener.html new file mode 100644 index 0000000..da92a46 --- /dev/null +++ b/appendix/listener.html @@ -0,0 +1,40 @@ + + + + + Handling events in with addEventListener + + + + +Click me! + + diff --git a/appendix/regexp.html b/appendix/regexp.html new file mode 100644 index 0000000..10a88b2 --- /dev/null +++ b/appendix/regexp.html @@ -0,0 +1,21 @@ + + + + + Regular Expressions + + + + + diff --git a/chapter1/behavior.html b/chapter1/behavior.html new file mode 100644 index 0000000..c8cde74 --- /dev/null +++ b/chapter1/behavior.html @@ -0,0 +1,19 @@ + + + + +Just a Generic Page + + + +

Just a generic heading

+

Not a lot to read about here. I'm just an obligatory paragraph living in +an example in a JavaScript book. I'm looking for something to make my life more +exciting.

+ + diff --git a/chapter1/birthday.html b/chapter1/birthday.html index e0451bb..2034da4 100644 --- a/chapter1/birthday.html +++ b/chapter1/birthday.html @@ -1,11 +1,10 @@ - + Happy Birthday - - + diff --git a/chapter1/icecream.html b/chapter1/icecream.html index 486ecd7..ff8dee2 100644 --- a/chapter1/icecream.html +++ b/chapter1/icecream.html @@ -1,5 +1,5 @@ - + Icecream! diff --git a/chapter1/index.html b/chapter1/index.html index c9d7847..f81e3d0 100644 --- a/chapter1/index.html +++ b/chapter1/index.html @@ -1,5 +1,5 @@ - + My First JavaScript diff --git a/chapter1/kids.html b/chapter1/kids.html index f8f32c6..77d1d6b 100644 --- a/chapter1/kids.html +++ b/chapter1/kids.html @@ -1,5 +1,5 @@ - + For Kids Only diff --git a/chapter10/aloha.html b/chapter10/aloha.html index 6b6e4a5..fa293f2 100644 --- a/chapter10/aloha.html +++ b/chapter10/aloha.html @@ -11,8 +11,8 @@ } function hawaiianTranslator(word) { - if (word == "Hello") return "Aloha"; - if (word == "Goodbye") return "Aloha"; + if (word === "Hello") return "Aloha"; + if (word === "Goodbye") return "Aloha"; } sayIt(hawaiianTranslator); diff --git a/chapter10/cola.html b/chapter10/cola.html index 5834c89..a116bb6 100644 --- a/chapter10/cola.html +++ b/chapter10/cola.html @@ -1,5 +1,5 @@ - + Webville Cola diff --git a/chapter10/plane.html b/chapter10/plane.html index e208c57..9db2090 100644 --- a/chapter10/plane.html +++ b/chapter10/plane.html @@ -29,7 +29,7 @@ function printPassenger(passenger) { var message = passenger.name; - if (passenger.paid === true) { + if (passenger.paid) { message = message + " has paid"; } else { message = message + " has not paid"; diff --git a/chapter11/bakeSolution.html b/chapter11/bakeSolution.html new file mode 100644 index 0000000..d48fa34 --- /dev/null +++ b/chapter11/bakeSolution.html @@ -0,0 +1,41 @@ + + + + +Anonymous Functions: Bake the cookies + + + +
+ +
+ + + diff --git a/chapter11/challenge.html b/chapter11/challenge.html new file mode 100644 index 0000000..26565b1 --- /dev/null +++ b/chapter11/challenge.html @@ -0,0 +1,54 @@ + + + + +Extreme JavaScript Challenge + + + + + diff --git a/chapter11/chapter9WithClosure/five.jpg b/chapter11/chapter9WithClosure/five.jpg new file mode 100644 index 0000000..eb99968 Binary files /dev/null and b/chapter11/chapter9WithClosure/five.jpg differ diff --git a/chapter11/chapter9WithClosure/fiveblur.jpg b/chapter11/chapter9WithClosure/fiveblur.jpg new file mode 100644 index 0000000..4e2010e Binary files /dev/null and b/chapter11/chapter9WithClosure/fiveblur.jpg differ diff --git a/chapter11/chapter9WithClosure/four.jpg b/chapter11/chapter9WithClosure/four.jpg new file mode 100644 index 0000000..747e1e0 Binary files /dev/null and b/chapter11/chapter9WithClosure/four.jpg differ diff --git a/chapter11/chapter9WithClosure/fourblur.jpg b/chapter11/chapter9WithClosure/fourblur.jpg new file mode 100644 index 0000000..d94cb36 Binary files /dev/null and b/chapter11/chapter9WithClosure/fourblur.jpg differ diff --git a/chapter11/chapter9WithClosure/imageClosure.html b/chapter11/chapter9WithClosure/imageClosure.html new file mode 100644 index 0000000..cc9d7d7 --- /dev/null +++ b/chapter11/chapter9WithClosure/imageClosure.html @@ -0,0 +1,42 @@ + + + + + Image Guess + + + + + + + + + + + + diff --git a/chapter11/chapter9WithClosure/one.jpg b/chapter11/chapter9WithClosure/one.jpg new file mode 100644 index 0000000..288cf22 Binary files /dev/null and b/chapter11/chapter9WithClosure/one.jpg differ diff --git a/chapter11/chapter9WithClosure/oneblur.jpg b/chapter11/chapter9WithClosure/oneblur.jpg new file mode 100644 index 0000000..f1a96b8 Binary files /dev/null and b/chapter11/chapter9WithClosure/oneblur.jpg differ diff --git a/chapter11/chapter9WithClosure/three.jpg b/chapter11/chapter9WithClosure/three.jpg new file mode 100644 index 0000000..6739029 Binary files /dev/null and b/chapter11/chapter9WithClosure/three.jpg differ diff --git a/chapter11/chapter9WithClosure/threeblur.jpg b/chapter11/chapter9WithClosure/threeblur.jpg new file mode 100644 index 0000000..384b527 Binary files /dev/null and b/chapter11/chapter9WithClosure/threeblur.jpg differ diff --git a/chapter11/chapter9WithClosure/two.jpg b/chapter11/chapter9WithClosure/two.jpg new file mode 100644 index 0000000..75ba030 Binary files /dev/null and b/chapter11/chapter9WithClosure/two.jpg differ diff --git a/chapter11/chapter9WithClosure/twoblur.jpg b/chapter11/chapter9WithClosure/twoblur.jpg new file mode 100644 index 0000000..71428e2 Binary files /dev/null and b/chapter11/chapter9WithClosure/twoblur.jpg differ diff --git a/chapter11/chapter9WithClosure/zero.jpg b/chapter11/chapter9WithClosure/zero.jpg new file mode 100644 index 0000000..77ce7af Binary files /dev/null and b/chapter11/chapter9WithClosure/zero.jpg differ diff --git a/chapter11/chapter9WithClosure/zeroblur.jpg b/chapter11/chapter9WithClosure/zeroblur.jpg new file mode 100644 index 0000000..628a857 Binary files /dev/null and b/chapter11/chapter9WithClosure/zeroblur.jpg differ diff --git a/chapter11/closureExercise.html b/chapter11/closureExercise.html new file mode 100644 index 0000000..4005fdc --- /dev/null +++ b/chapter11/closureExercise.html @@ -0,0 +1,54 @@ + + + + +Closure exercise + + + + + diff --git a/chapter11/counterClosure.html b/chapter11/counterClosure.html new file mode 100644 index 0000000..b38e2c1 --- /dev/null +++ b/chapter11/counterClosure.html @@ -0,0 +1,29 @@ + + + + +Counter closure + + + + + + diff --git a/chapter11/divClosure.html b/chapter11/divClosure.html new file mode 100644 index 0000000..cd9b745 --- /dev/null +++ b/chapter11/divClosure.html @@ -0,0 +1,52 @@ + + + + +Click me! + + + + + +
+ + + diff --git a/chapter11/flyAndQuack.html b/chapter11/flyAndQuack.html new file mode 100644 index 0000000..34710ed --- /dev/null +++ b/chapter11/flyAndQuack.html @@ -0,0 +1,37 @@ + + + + +Scope + + + + + diff --git a/chapter11/justAVar.html b/chapter11/justAVar.html new file mode 100644 index 0000000..c0e9ddb --- /dev/null +++ b/chapter11/justAVar.html @@ -0,0 +1,28 @@ + + + + +Extreme JavaScript Challenge + + + + + diff --git a/chapter11/justSayin.html b/chapter11/justSayin.html new file mode 100644 index 0000000..8560254 --- /dev/null +++ b/chapter11/justSayin.html @@ -0,0 +1,27 @@ + + + + +Free Variables Exercise + + + + + diff --git a/chapter11/timerClosure.html b/chapter11/timerClosure.html new file mode 100644 index 0000000..a44dfca --- /dev/null +++ b/chapter11/timerClosure.html @@ -0,0 +1,27 @@ + + + + +Timer closure + + + + + + diff --git a/chapter11/vaccine.html b/chapter11/vaccine.html new file mode 100644 index 0000000..606e858 --- /dev/null +++ b/chapter11/vaccine.html @@ -0,0 +1,45 @@ + + + + +First class functions exercise + + + + + diff --git a/chapter12/cadi.html b/chapter12/cadi.html new file mode 100644 index 0000000..4419d57 --- /dev/null +++ b/chapter12/cadi.html @@ -0,0 +1,53 @@ + + + + +Car Constructor + + + + + + diff --git a/chapter12/car.html b/chapter12/car.html new file mode 100644 index 0000000..a8fde05 --- /dev/null +++ b/chapter12/car.html @@ -0,0 +1,58 @@ + + + + +Car Constructor + + + + + + diff --git a/chapter12/carAndDog.html b/chapter12/carAndDog.html new file mode 100644 index 0000000..9ca6740 --- /dev/null +++ b/chapter12/carAndDog.html @@ -0,0 +1,125 @@ + + + + +Car Constructor + + + + + diff --git a/chapter12/coffee.html b/chapter12/coffee.html new file mode 100644 index 0000000..1152572 --- /dev/null +++ b/chapter12/coffee.html @@ -0,0 +1,36 @@ + + + + +Coffee Constructor + + + + + + diff --git a/chapter12/dog1.html b/chapter12/dog1.html new file mode 100644 index 0000000..5c9a00a --- /dev/null +++ b/chapter12/dog1.html @@ -0,0 +1,33 @@ + + + + +Construct some dogs + + + + + + diff --git a/chapter12/dog2.html b/chapter12/dog2.html new file mode 100644 index 0000000..8dadbd3 --- /dev/null +++ b/chapter12/dog2.html @@ -0,0 +1,44 @@ + + + + +Construct some dogs + + + + + + diff --git a/chapter12/dogCatcher.html b/chapter12/dogCatcher.html new file mode 100644 index 0000000..505b124 --- /dev/null +++ b/chapter12/dogCatcher.html @@ -0,0 +1,53 @@ + + + + +Dog Catcher + + + + + + diff --git a/chapter13/cliche.html b/chapter13/cliche.html new file mode 100644 index 0000000..b826f17 --- /dev/null +++ b/chapter13/cliche.html @@ -0,0 +1,37 @@ + + + + +Extending the String prototype with a new method + + + + + + diff --git a/chapter13/dog.html b/chapter13/dog.html new file mode 100644 index 0000000..74f4cd2 --- /dev/null +++ b/chapter13/dog.html @@ -0,0 +1,31 @@ + + + + +Fido + + + + + + diff --git a/chapter13/dog1.html b/chapter13/dog1.html new file mode 100644 index 0000000..fb6526d --- /dev/null +++ b/chapter13/dog1.html @@ -0,0 +1,51 @@ + + + + +Fido with Prototype + + + + + + diff --git a/chapter13/dog2.html b/chapter13/dog2.html new file mode 100644 index 0000000..5b1d85b --- /dev/null +++ b/chapter13/dog2.html @@ -0,0 +1,55 @@ + + + + +Spot gets his WOOF! + + + + + + diff --git a/chapter13/dog3.html b/chapter13/dog3.html new file mode 100644 index 0000000..648f23a --- /dev/null +++ b/chapter13/dog3.html @@ -0,0 +1,61 @@ + + + + +Barnaby gets to sit + + + + + + diff --git a/chapter13/dog4.html b/chapter13/dog4.html new file mode 100644 index 0000000..b5f7b54 --- /dev/null +++ b/chapter13/dog4.html @@ -0,0 +1,70 @@ + + + + +Adding sitting test + + + + + + diff --git a/chapter13/dog5.html b/chapter13/dog5.html new file mode 100644 index 0000000..ba89ab6 --- /dev/null +++ b/chapter13/dog5.html @@ -0,0 +1,73 @@ + + + + +Who has the sitting property? + + + + + + diff --git a/chapter13/palindrome.html b/chapter13/palindrome.html new file mode 100644 index 0000000..5124e22 --- /dev/null +++ b/chapter13/palindrome.html @@ -0,0 +1,48 @@ + + + + +Palindrome + + + + + + diff --git a/chapter13/robotOverride.html b/chapter13/robotOverride.html new file mode 100644 index 0000000..c202f9a --- /dev/null +++ b/chapter13/robotOverride.html @@ -0,0 +1,27 @@ + + + + +Overriding built-in behavior + + + + + + diff --git a/chapter13/robots.html b/chapter13/robots.html new file mode 100644 index 0000000..e9d8f68 --- /dev/null +++ b/chapter13/robots.html @@ -0,0 +1,55 @@ + + + + +Robots + + + + + + diff --git a/chapter13/robotsGame.html b/chapter13/robotsGame.html new file mode 100644 index 0000000..94b6227 --- /dev/null +++ b/chapter13/robotsGame.html @@ -0,0 +1,50 @@ + + + + +Robots Game + + + + + + diff --git a/chapter13/robotsHasOwnProperty.html b/chapter13/robotsHasOwnProperty.html new file mode 100644 index 0000000..b2de198 --- /dev/null +++ b/chapter13/robotsHasOwnProperty.html @@ -0,0 +1,40 @@ + + + + +Robots + + + + + + diff --git a/chapter13/showdogs.html b/chapter13/showdogs.html new file mode 100644 index 0000000..46a4a65 --- /dev/null +++ b/chapter13/showdogs.html @@ -0,0 +1,95 @@ + + + + +Show dogs + + + + + diff --git a/chapter13/showdogsCleanup.html b/chapter13/showdogsCleanup.html new file mode 100644 index 0000000..13d7212 --- /dev/null +++ b/chapter13/showdogsCleanup.html @@ -0,0 +1,101 @@ + + + + +Show dogs + + + + + diff --git a/chapter13/showdogsTester.html b/chapter13/showdogsTester.html new file mode 100644 index 0000000..bd650cb --- /dev/null +++ b/chapter13/showdogsTester.html @@ -0,0 +1,99 @@ + + + + +Show dogs + + + + + diff --git a/chapter13/spacerobots.html b/chapter13/spacerobots.html new file mode 100644 index 0000000..9c252b8 --- /dev/null +++ b/chapter13/spacerobots.html @@ -0,0 +1,85 @@ + + + + +Space Robots + + + + + + diff --git a/chapter2/battleship-final.js b/chapter2/battleship-final.js index a0c9249..faeb98a 100644 --- a/chapter2/battleship-final.js +++ b/chapter2/battleship-final.js @@ -1,37 +1,30 @@ -// Ready Bake Code -function logToBrowser(message) { - var results = document.getElementById("results"); - results.innerHTML = results.innerHTML + "
" + message; -} - var randomLoc = Math.floor(Math.random() * 5); var location1 = randomLoc; var location2 = location1 + 1; -var location3 = location2 + 1; -var guess; +var location3 = location1 + 2; +var guess; var hits = 0; var guesses = 0; var isSunk = false; -while (isSunk == false) { - guess = prompt("Ready, aim, fire! (enter a number from 0-6):"); - if (guess < 0 || guess > 6) { - logToBrowser("Please enter a valid cell number!"); +while (isSunk == false) { + guess = prompt("Ready, aim, fire! (enter a number from 0-6):"); + if (guess < 0 || guess > 6) { + alert("Please enter a valid cell number!"); } else { - guesses = guesses + 1; - - if (guess == location1 || guess == location2 || guess == location3) { - logToBrowser("HIT!"); - hits = hits + 1; - if (hits == 3) { - isSunk = true; - logToBrowser("You sank my battleship!"); - } - } else { - logToBrowser("MISS"); - } - } -} + guesses = guesses + 1; + if (guess == location1 || guess == location2 || guess == location3) { + alert("HIT!"); + hits = hits + 1; + if (hits == 3) { + isSunk = true; + alert("You sank my battleship!"); + } + } else { + alert("MISS"); + } + } +} var stats = "You took " + guesses + " guesses to sink the battleship, " + - "which means your shooting accuracy was " + (3/guesses); -logToBrowser(stats); + "which means your shooting accuracy was " + (3/guesses); +alert(stats); diff --git a/chapter2/battleship.html b/chapter2/battleship.html index 8eb1755..2a6c2d3 100644 --- a/chapter2/battleship.html +++ b/chapter2/battleship.html @@ -1,8 +1,8 @@ - + -Battleship +Battleship

Play battleship!

diff --git a/chapter2/battleship.js b/chapter2/battleship.js index 4a139b7..754fb3e 100644 --- a/chapter2/battleship.js +++ b/chapter2/battleship.js @@ -1,43 +1,29 @@ -// Ready Bake Code -function logToBrowser(message) { - var results = document.getElementById("results"); - results.innerHTML = results.innerHTML + "
" + message; - console.log(message); - alert(message); -} - -function getUserInput() { - var input = prompt("Ready, aim, fire! (enter a number from 0-6):"); - return input; -} - var location1 = 3; var location2 = 4; var location3 = 5; -var guess; +var guess; var hits = 0; var guesses = 0; var isSunk = false; -while (isSunk == false) { - guess = getUserInput(); - if (guess < 0 || guess > 6) { - logToBrowser("Please enter a valid cell number!"); +while (isSunk == false) { + guess = prompt("Ready, aim, fire! (enter a number from 0-6):"); + if (guess < 0 || guess > 6) { + alert("Please enter a valid cell number!"); } else { - guesses = guesses + 1; - - if (guess == location1 || guess == location2 || guess == location3) { - logToBrowser("HIT!"); - hits = hits + 1; - if (hits == 3) { - isSunk = true; - logToBrowser("You sank my battleship!"); - } - } else { - logToBrowser("MISS"); - } - } -} + guesses = guesses + 1; + if (guess == location1 || guess == location2 || guess == location3) { + alert("HIT!"); + hits = hits + 1; + if (hits == 3) { + isSunk = true; + alert("You sank my battleship!"); + } + } else { + alert("MISS"); + } + } +} var stats = "You took " + guesses + " guesses to sink the battleship, " + - "which means your shooting accuracy was " + (3/guesses); -logToBrowser(stats); + "which means your shooting accuracy was " + (3/guesses); +alert(stats); diff --git a/chapter3/areaAndDistance.html b/chapter3/areaAndDistance.html index dd9c11c..bcc095d 100644 --- a/chapter3/areaAndDistance.html +++ b/chapter3/areaAndDistance.html @@ -1,5 +1,5 @@ - + Area and Distance diff --git a/chapter3/bake.html b/chapter3/bake.html index c51ead9..811f885 100644 --- a/chapter3/bake.html +++ b/chapter3/bake.html @@ -1,5 +1,5 @@ - + Bake (with return) diff --git a/chapter3/bark.html b/chapter3/bark.html index 5016db2..74bad18 100644 --- a/chapter3/bark.html +++ b/chapter3/bark.html @@ -1,5 +1,5 @@ - + Bark diff --git a/chapter3/sherluck.html b/chapter3/sherlock.html similarity index 96% rename from chapter3/sherluck.html rename to chapter3/sherlock.html index 66e5ce5..442fd47 100644 --- a/chapter3/sherluck.html +++ b/chapter3/sherlock.html @@ -1,5 +1,5 @@ - + Five Minute Mystery diff --git a/chapter3/thingamajig.html b/chapter3/thingamajig.html index a5826fb..243b88c 100644 --- a/chapter3/thingamajig.html +++ b/chapter3/thingamajig.html @@ -1,5 +1,5 @@ - + The Thing-a-ma-jig @@ -8,31 +8,57 @@ diff --git a/chapter4/bubbles.html b/chapter4/bubbles.html index ffbc445..f0c4861 100644 --- a/chapter4/bubbles.html +++ b/chapter4/bubbles.html @@ -1,8 +1,8 @@ - + -Bubble Factory Test Lab +Bubble Factory Test Lab diff --git a/chapter4/bubbles2.html b/chapter4/bubbles2.html index 175ca9e..79c1d81 100644 --- a/chapter4/bubbles2.html +++ b/chapter4/bubbles2.html @@ -1,8 +1,8 @@ - + -Bubble Factory Test Lab +Bubble Factory Test Lab + + + diff --git a/chapter5/autoomatic.html b/chapter5/autoomatic.html index 53525ee..5bddfd4 100644 --- a/chapter5/autoomatic.html +++ b/chapter5/autoomatic.html @@ -1,8 +1,8 @@ - Object-o-matic + Object-o-matic + + + + + diff --git a/chapter5/carWithDrive.html b/chapter5/carWithDrive.html index db50d34..45a1120 100644 --- a/chapter5/carWithDrive.html +++ b/chapter5/carWithDrive.html @@ -1,8 +1,8 @@ - + -Car with drive +Car with drive + + + + + diff --git a/chapter5/prequal.html b/chapter5/prequal.html index a549572..9196213 100644 --- a/chapter5/prequal.html +++ b/chapter5/prequal.html @@ -1,5 +1,5 @@ - + Prequalifcation @@ -66,8 +66,8 @@ // // add a function to make it easier to generate the console output! // -function isWorthALook(b, car) { - if (b) { +function isWorthALook(didQualify, car) { + if (didQualify) { console.log("You gotta check out this " + car.make + " " + car.model); } else { console.log("You should really pass on the " + car.make + " " + car.model); diff --git a/chapter5/secret.html b/chapter5/secret.html index 20198d0..2155417 100644 --- a/chapter5/secret.html +++ b/chapter5/secret.html @@ -1,8 +1,8 @@ - + -Secret +Secret diff --git a/chapter9/resize.html b/chapter9/resize.html index 40190cf..effff3c 100644 --- a/chapter9/resize.html +++ b/chapter9/resize.html @@ -1,10 +1,10 @@ - + Don't resize me, I'm ticklish! + + + + + +

let, scope, and closures

+ + + + diff --git a/extras/timer.html b/extras/timer.html new file mode 100644 index 0000000..724bf77 --- /dev/null +++ b/extras/timer.html @@ -0,0 +1,45 @@ + + +Webville Lounge + + + + + + + + diff --git a/extras/varWithClosures.html b/extras/varWithClosures.html new file mode 100644 index 0000000..bccc32e --- /dev/null +++ b/extras/varWithClosures.html @@ -0,0 +1,39 @@ + + + +Let, scope, and closures + + + + + +

let, scope, and closures

+ + + +