From 84ce0943c9b741615ada3b3f47c6b383a0c46906 Mon Sep 17 00:00:00 2001 From: kronos3713 Date: Thu, 1 Oct 2020 00:02:33 -0400 Subject: [PATCH] javascript --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 6d7f61f41..04cda83bc 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ The module challenge is the afternoon project or assignment that students work t ## Objectives - Explain function scope -- Describe what closure is, how closure is created in a program and why it is important to understand closures in JavaScript +- Describe what closure is, how closure is created in a program and why it is important to understand closures in JavaScript ## Introduction @@ -17,7 +17,7 @@ This challenge focuses on both scope and closures. In this challenge you will be working to build a `scoreboard` (in the console) that takes randomly generated data and keeps track of a game's progress. If you're not familiar with the rules of baseball what you need to know is this: there are 9 innings and teams take turns "at-bat." Teams can only score while they are at bat. A team stops being at bat once they have gotten 3 `outs` by either striking out or through game play. You can read more about baseball rules [here](https://www.rulesofsport.com/sports/baseball.html). -A scoreboard in a major league stadium looks something like this. In fact, the scoreboard at Fenway Park in Boston is actually quite famous. +A scoreboard in a major league stadium looks something like this. In fact, the scoreboard at Fenway Park in Boston is actually quite famous. ![Fenway Scoreboard](https://storage.googleapis.com/afs-prod/media/media:e959506330fd4e5890023c93cfbaac55/800.jpeg) @@ -64,7 +64,7 @@ dansRoll(); a. Where is closure used in this code? How can you tell? b. Compare and contrast calling `dansRoll` the first and second time. What is always the same? What could change? -c. What is the lexical scope of `newRoll`? +c. What is the lexical scope of `newRoll`? ### Task 3 - Stretch Goals