- The objective of this challenge is to get you used to answering a few questions about JavaScript that are commonly asked in interviews.
- We also have some more reps for you to help hammer in the knowledge you've thus far learned.
- Answers to your written questions will be recorded in ANSWERS.md
- This is to be worked on alone but you can use outside resources. You can reference any old code you may have, and the React Documentation, however, please refrain from copying and pasting any of your answers. Try and understand the question and put your responses in your own words. Be as thorough as possible when explaining something.
- Just a friendly Reminder Don't fret or get anxious about this, this is a no-pressure assessment that is only going to help guide you here in the near future. This is NOT a pass/fail situation.
Questions - Self Study - You can exercise your Google-Fu for this and any other Sprint Challenge in the future.
- Describe the biggest difference between
.forEach
&.map
. - What is the difference between a function and a method?
- What is closure?
- Describe the four rules of the 'this' keyword.
- Why do we need super() in an extended class?
- Fork/Clone this repository.
- Complete all the exercises as described inside each challenge file.
- Use
console.log()
statements to check to see if your code does what it is supposed to do. - To test your
console
statements you can runnode /assignments/<fileName>
and see what prints in your terminal. You can also use an online tool likeJSBin
,REPL.it
,JSFiddle
, or even yourChrome developer console
. - Once you finish the challenges in each file, commit your code, and push it to your fork.
Test your knowledge of objects and arrays. Use the objects-arrays.js link to get started. Read the instructions carefully!
This challenge takes a look at callbacks and closures as well as scope. Use the functions.js link to get started.
Create constructors, bind methods, and create cuboids in this prototypes challenge: prototypes.js.
Once you have completed the prototypes challenge, it's time to convert all your hard work into classes: classes.js.