General
- What JS libraries have you used?
- Why that over X?
- What JS tempting libraries have you used?
- How do you organize your code?
- Have you used CoffeeScript?
- What do you like/dislike about it?
- Advantages/Disadvantages over JavaScript?
What is:
- primitive types
- this
- apply & call
- What is the difference between the two?
- closures
- lambdas
- JSON
Describe the differences between:
- Loops
- for
- for in
- while
- forEach
- is there an issue with for/while that forEach can solve?
- map
- reduce
- Variables
- undefined
- undeclared
- null
- Host objects and Native objects.
- Passed by reference vs passed by value
- Bonus if knows everything is passed by reference but primitives are immutable.
Explain:
- How are variables scoped in JavaScript?
- What is hoisting?
- The prototype chain
Solve:
- FizzBuzz
- Reverse a string
- Reverse the letters but not the word order.
- Example: "Hello World" becomes "olleH dlroW"
- Flatten a list.
- Example: [[1], 2, [[3,4], 5], [[[]]], [[[6]]], 7, 8, []] becomes [1, 2, 3, 4, 5, 6, 7, 8]
- Memorize function