
1
Question . What is a function in JavaScript ?
Answer. A type of object
2
Question . What does a function do ?
Answer. Takes input values,processes them and returns a value
3
Question . Function Expressions are hoisted in JavaScript ?
Answer. No
4
Question . Which statement is true ?
Answer. ES6 arrow functions help us to write functions that are more concise,readable
and maintainable
5
Question . Which statement is true ?
Answer. Functional programming helps us to write more elegant code that does not
have side effects & enforces data integrity
6
Question . An anonymous function is good for debugging and tracing errors in our stack call ?
Answer. No
7
Question .Which programming paradigm can JavaScript use?
All of the above (multi-paradigm)
8
Question . What is hoisting in JavaScript ?
Answer. A fancy term that simply means that we can access/call our function at any
point in our app and not get any errors
9
Question . Assigning the IIFE to a variable stores the function's result, not the function itself?
Answer. Yes
10
Question . The variables we define within the IIFE are accessible at any point throughout or
application?.
Answer. No