Skip to content

Instantly share code, notes, and snippets.

https://repl.it/@chris12540/Object-creator-drill
https://repl.it/@chris12540/Object-updater-drill
https://repl.it/@chris12540/Self-reference-drill
https://repl.it/@chris12540/Deleting-keys-drill
Scope is what variable can be accessed where. For instance a global variable can be accessed in all functions. A local variable can only be accssed from that function or below. It cannot be accessed from higher levels.
Global variables are avoided because you can inadvertantly change the way the entire script runs.
Strict mode is used to make sure that whenever a variable is created without let or const an error will be thrown.
A side effect is when a function changes a value outside of it's scope, or curly brackets. A pure function is one that has no side effects and repeatedly does the same thing when given the same inputs.
https://repl.it/@chris12540/min-and-max-without-sort-drill
https://repl.it/@chris12540/average-drill
https://repl.it/@chris12540/fizzbuzz-drill-js
https://repl.it/@chris12540/Array-copying-I-drill
https://repl.it/@chris12540/Array-copying-II-drill
https://repl.it/@chris12540/Squares-with-map-drill
https://repl.it/@chris12540/Sort-drill
https://repl.it/@chris12540/Filter-drill
https://repl.it/@chris12540/Find-drill
https://repl.it/@chris12540/Creating-arrays-drill
https://repl.it/@chris12540/Adding-array-items-drills
https://repl.it/@chris12540/Accessing-array-items-drill
https://repl.it/@chris12540/Array-length-and-access-drill
https://Traffic-lights-drill--chris12540.repl.co
https://Error-alert-drill--chris12540.repl.co
https://repl.it/@chris12540/area-of-a-rectangle-drill
https://repl.it/@chris12540/temperature-conversion-drill
https://repl.it/@chris12540/Is-divisible-drill