1) Apply Promise all in JavaScript by Hand 2) Difference between localStorage and cookies etc.
Anonimo
Through questions like this, interviewers are mostly trying to test your skillset (and its relevance to the role) as robustly as possible, so be prepared for multiple offshoots and followups. It could be a useful exercise to do mocks with friends or colleagues in ByteDance to get a real sense of what the interview is actually like. Alternatively Prepfully has a ton of ByteDance Front End Engineer experts who provide mock interviews for a pretty reasonable amount. prepfully.com/practice-interviews