Pergunta de entrevista da empresa Artera

First interview: Explain javascript array map, filter and reduce. What is a promise? Explain const vs let. Coding exercise: - Falsy vs truthy principles More questions: - React lifecycle mehods and hooks - What happens with setState in react (rerender) - Optimizing react components - Memoization Excercise: - For loop with var instead of const or let (looking at closure) Asked about pure components (I wasn't familiar) Asked about the event lifecycle loop in JS (I wasn't familiar) Second interview: Long form coding exercise on making an API call and using a modal in react. Third interview: Mainly cultural.