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:
Cezar Augusto 2017-11-04 00:29:03 -02:00 committed by GitHub
commit b9f7a84672
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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?