Question: do arrow functions get hoisted?
Answer: Arrow functions mostly behave like function expressions. They are expressions rather than statements, which allows them to appear in expression position. ... Just like functions expressions, arrow functions aren't hoisted — only function declarations are.