- The version of JS that I learn, version 5 and ES6, are those the versions that majority of code written in 2018 and will be in early 2019?
- Will I learn about Babel / WebPack etc?
- Does this course cover the frontend JS as mush as JS for backend? One more than the other?
- Will I learn everything in JS I need to make it easy for me to master React?
- I am stuck, I really do NOT have any other question at this stage. If and when I do, I will add it here.
If you want to create a variable called mentor and set its value equal to the name of your mentor, how would you do that?
let mentor = "Patrick Ford";
How would you then log the value of mentor to the console?
console.log(mentor);
Describe the difference between let, var, and const.
Wiseperson generator https://repl.it/@waituk/Wiseperson-generator-drill
Shouter https://repl.it/@waituk/shouter-drill
Text Normalizer https://repl.it/@waituk/text-normalizer-drill Please note: the text is not transformed to lower case although test results in SUCCESS.
Area of a rectangle https://repl.it/@waituk/area-of-a-rectangle-drill
Temperature conversion https://repl.it/@waituk/temperature-conversion-drill
Is Divisible https://repl.it/@waituk/Is-divisible-drill
Traffic Light https://repl.it/@waituk/Traffic-lights-drill
Error alert https://repl.it/@waituk/Error-alert-drill
Array basics drills
Creating arrays https://repl.it/@waituk/Creating-arrays-drill
Adding array items https://repl.it/@waituk/Adding-array-items-drills
Accessing array items https://repl.it/@waituk/Accessing-array-items-drill
max and min (without sort) https://repl.it/@waituk/min-and-max-without-sort-drill
Compute the average https://repl.it/@waituk/average-drill
1. What is scope? Your explanation should include the idea of global vs. block scope. A scope is locale accessible to a variable based on where its declared. There can only be two scopes, global or local. A local scope is the one where variable is declared within a function, whereas a global scope if for varaibles declared anywhere else outside of a function. Global scopes can be mutated from anywhere in the code file or files, whereas the local scoped variables can only be changed within the function and then it will disappear after the function is invoked, without making any changes to the outside world. Its always recommended to create local scoped variables for reliable code, unless in exceptional edge cases where global scoped variable is a must.
Why are global variables avoided? It allows for mutation of variables in unknown places, making the code prone to unintended results, and hence making
Object Creator https://repl.it/@waituk/Object-creator-drill
Object Updater https://repl.it/@waituk/Object-updater-drill
Self-reference https://repl.it/@waituk/Self-reference-drill
Deleting keys
Making student reports https://repl.it/@waituk/Make-student-reports-drill-1
Enroll in summer school https://repl.it/@waituk/Enroll-in-summer-school-drill-1
Find by id https://repl.it/@waituk/find-by-id-drill
Validate object keys