Jul 21, 2021
- Describe one thing you’re learning in class today.
- re: i learned about find(), findIndex(), and how they work in a function
- Can you describe the main difference between a forEach loop and a .map() loop and why you would pick one versus the other?
- re: he first difference between map() and forEach() is the returning value
- Describe event bubbling.
- re: Event bubbling is a type of event propagation
- What is the definition of a higher-order function?
- re: functions can be assigned to variables in the same way that strings or arrays can.
- ES6 Template Literals offer a lot of flexibility in generating strings. Can you give an example?
- What Is an associative array in JavaScript?
- re: arrays are basically objects in javascript where indexes are replaced
- Why should you never use new Array in JavaScript?