Skip to content

Instantly share code, notes, and snippets.

View ievgenk's full-sized avatar
🐶
Dogs are dogs

Ievgen Kasian ievgenk

🐶
Dogs are dogs
  • Den Haag, NL
View GitHub Profile
https://repl.it/@ekasian/Wiseperson-generator-drill
https://repl.it/@ekasian/shouter-drill
https://repl.it/@ekasian/text-normalizer-drill
https://repl.it/@ekasian/area-of-a-rectangle-drill
https://repl.it/@ekasian/temperature-conversion-drill
https://repl.it/@ekasian/Is-divisible-drill
https://repl.it/@ekasian/Traffic-lights-drill
https://repl.it/@ekasian/Error-alert-drill
https://repl.it/@ekasian/Creating-arrays-drill
https://repl.it/@ekasian/Adding-array-items-drills
https://repl.it/@ekasian/Accessing-array-items-drill
https://repl.it/@ekasian/Array-length-and-access-drill
https://repl.it/@ekasian/Array-copying-I-drill
https://repl.it/@ekasian/Array-copying-II-drill
https://repl.it/@ekasian/Squares-with-map-drill
https://repl.it/@ekasian/Sort-drill
https://repl.it/@ekasian/Filter-drill
https://repl.it/@ekasian/Find-drill
@ievgenk
ievgenk / gist:6fc2454a48afdf76ec12b66c48471999
Created February 4, 2018 02:45
Arrays and Loops Drills
https://repl.it/@ekasian/min-and-max-without-sort-drill
https://repl.it/@ekasian/average-drill
https://repl.it/@ekasian/fizzbuzz-drill-js
@ievgenk
ievgenk / gist:6bb2d4b600927ec9c6b69523ee8412cc
Created February 5, 2018 03:31
Challange: In your own words
What is scope? Your explanation should include the idea of global vs. local scope.
To me scope is the rule set within which variables can be accessed by the functions. Global scope means that variables can be accessed and modified from anywhere withi hte code, and even another JS file. Whereas local scope varialbes can be modified and achieived only within the code block that they are located within.
Why are global variables avoided?
They are to be avoided due to possiblle unintentional side effects that can be caused by modifying the global variables. Some of these side effects can lead to bugs that will be hard to trace and fix, especially in a larger code base.
Explain JavaScript's strict mode
https://repl.it/@ekasian/Object-creator-drill
https://repl.it/@ekasian/Object-updater-drill
https://repl.it/@ekasian/Self-reference-drill
https://repl.it/@ekasian/Deleting-keys-drill
https://repl.it/@ekasian/Make-student-reports-drill
https://repl.it/@ekasian/Enroll-in-summer-school-drill
https://repl.it/@ekasian/find-by-id-drill
https://repl.it/@ekasian/validate-object-keys-drill
@ievgenk
ievgenk / gist:40f3f14d999bd6559a2bdc4b3a32fabd
Created February 7, 2018 16:22
Analyze most frequent word function
https://repl.it/@ekasian/most-frequent-word-analyzer-challenge