This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://repl.it/@ryanjwilliams/text-normalizer-drill | |
https://repl.it/@ryanjwilliams/shouter-drill | |
https://repl.it/@ryanjwilliams/Wiseperson-generator-drill |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://repl.it/@ryanjwilliams/Is-divisible-drill | |
https://repl.it/@ryanjwilliams/temperature-conversion-drill | |
https://repl.it/@ryanjwilliams/area-of-a-rectangle-drill |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://repl.it/@ryanjwilliams/Traffic-lights-drill | |
https://repl.it/@ryanjwilliams/Error-alert-drill |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://repl.it/@ryanjwilliams/Creating-arrays-drill | |
https://repl.it/@ryanjwilliams/Adding-array-items-drills | |
https://repl.it/@ryanjwilliams/Accessing-array-items-drill | |
https://repl.it/@ryanjwilliams/Array-length-and-access-drill |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://repl.it/@ryanjwilliams/Array-copying-I-drill | |
https://repl.it/@ryanjwilliams/Array-copying-II-drill | |
https://repl.it/@ryanjwilliams/Squares-with-map-drill | |
https://repl.it/@ryanjwilliams/Sort-drill | |
https://repl.it/@ryanjwilliams/Filter-drill |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://repl.it/@ryanjwilliams/min-and-max-without-sort-drill | |
https://repl.it/@ryanjwilliams/average-drill | |
https://repl.it/@ryanjwilliams/fizzbuzz-drill-js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
What is scope? | |
Scope defines how the variables declared in a program can be accessed at different places in the code. Any variable | |
declared outside of a function has a globlal scope. Variables declared within the function block have block scope. If a variable | |
has global scope it is accessible throughout the code by any function. Global variables may lead to unexpected side effects | |
making functions indeterminate, thus it is best to avoid using them. Variables with block scope are accessible only within the function | |
block in which they are defined, and thus have no effects on variables outside of their scope. | |
Why are global variables avoided? | |
Global variables can lead to unintended side effects and indeterminate functions. JavaScript uses the scope chain to find the value of | |
a variable once it is called inside of a function. If the variable is not defined within the function it will reach to the global level |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://repl.it/@ryanjwilliams/Object-creator-drill | |
https://repl.it/@ryanjwilliams/Object-updater-drill | |
https://repl.it/@ryanjwilliams/Self-reference-drill | |
https://repl.it/@ryanjwilliams/Deleting-keys-drill |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://repl.it/@ryanjwilliams/Make-student-reports-drill | |
https://repl.it/@ryanjwilliams/Enroll-in-summer-school-drill | |
https://repl.it/@ryanjwilliams/find-by-id-drill | |
https://repl.it/@ryanjwilliams/validate-object-keys-drill |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
For this challenge I comment throughout the code to explain how it works. Check it out in my repl.it at the link below. | |
https://repl.it/@ryanjwilliams/most-frequent-word-analyzer-challenge |
OlderNewer