Merge pull request #417 from kunsachdeva/patch-1
Add JS question for map vs forEach functions to loop in array
This commit is contained in:
commit
b9f7a84672
|
|
@ -110,6 +110,7 @@ This file contains a number of front-end interview questions that can be used wh
|
|||
* What's the difference between a variable that is: `null`, `undefined` or undeclared?
|
||||
* How would you go about checking for any of these states?
|
||||
* What is a closure, and how/why would you use one?
|
||||
* Can you describe the main difference between a `forEach` loop and a `.map()` loop and why you would pick one versus the other?
|
||||
* What's a typical use case for anonymous functions?
|
||||
* How do you organize your code? (module pattern, classical inheritance?)
|
||||
* What's the difference between host objects and native objects?
|
||||
|
|
|
|||
Loading…
Reference in New Issue