Skip to content

Instantly share code, notes, and snippets.

View RyanOkamuro's full-sized avatar

Ryan Okamuro RyanOkamuro

View GitHub Profile
https://repl.it/@RyanOkamuro/Wiseperson-generator-drill
https://repl.it/@RyanOkamuro/shouter-drill
https://repl.it/@RyanOkamuro/text-normalizer-drill
https://repl.it/@RyanOkamuro/area-of-a-rectangle-drill
https://repl.it/@RyanOkamuro/temperature-conversion-drill
https://repl.it/@RyanOkamuro/Is-divisible-drill
https://repl.it/@RyanOkamuro/Traffic-lights-drill
https://repl.it/@RyanOkamuro/Error-alert-drill
https://repl.it/@RyanOkamuro/Creating-arrays-drill
https://repl.it/@RyanOkamuro/Adding-array-items-drills
https://repl.it/@RyanOkamuro/Accessing-array-items-drill
https://repl.it/@RyanOkamuro/Array-length-and-access-drill
https://repl.it/@RyanOkamuro/Array-copying-I-drill
https://repl.it/@RyanOkamuro/Array-copying-II-drill
https://repl.it/@RyanOkamuro/Squares-with-map-drill
https://repl.it/@RyanOkamuro/Sort-drill
https://repl.it/@RyanOkamuro/Filter-drill
https://repl.it/@RyanOkamuro/Find-drill
@RyanOkamuro
RyanOkamuro / gist:c7b039564062eb12f61c18c8bab47e7e
Created February 3, 2018 17:56
Challenge: In your own words
What is scope? Your explanation should include the idea of global vs. local scope.
Scope determines whether or not you want the selected variables to be affected by the code you write. Global scope refers to all the variables you write will be affected by your code. Local scope refers to only a "selected" variables/block/part will be affected by the code as opposed to affecting every variable.
Why are global variables avoided?
They may result in unintended side affects or indeterminate coding. Uninteded side affects occur when other variables are affected other than the ones you specified. Indeterminate coding occurs when sometimes you receive the correct output for your input but at other times receive another output.
Explain JavaScript's strict mode
When defining a variable, it must use "let or const" to specify the scope. In strict mode, an error message will occur to remind the user to use "let or const" if they obmit these words when defining at variable.
----What does this mean:
https://repl.it/@RyanOkamuro/min-and-max-without-sort-drill
https://repl.it/@RyanOkamuro/average-drill
https://repl.it/@RyanOkamuro/fizzbuzz-drill-js
https://repl.it/@RyanOkamuro/Object-creator-drill
https://repl.it/@RyanOkamuro/Object-updater-drill
https://repl.it/@RyanOkamuro/Self-reference-drill
https://repl.it/@RyanOkamuro/Deleting-keys-drill
https://repl.it/@RyanOkamuro/Make-student-reports-drill
https://repl.it/@RyanOkamuro/Enroll-in-summer-school-drill
https://repl.it/@RyanOkamuro/find-by-id-drill
https://repl.it/@RyanOkamuro/validate-object-keys-drill
@RyanOkamuro
RyanOkamuro / gist:1c1cf3fb09164c140fad1d14282a36b2
Created February 6, 2018 00:23
most frequent word analyzer challenge
https://repl.it/@RyanOkamuro/most-frequent-word-analyzer-challenge