Investing.com interview question

1. JS code - What would the console print. 2. Algorithms (Leetcode) - JS Code. 3. React code - Find the bugs in the component.