I applied through a recruiter. I interviewed at TPIsoftware (Taipei) in Aug 2022
Interview
Basic logic tests and basic concepts of javascript, and talked with HR to understand my experiences as a front-end engineer, but my front-end-related work experience is less than one year. They sent an interview invitation to me, emphasizing the experience of front-end, the "years". Their tech supervisor was late for my interview, and the HR and I waited for 30 minutes. And he really disrespect me and just had 5-minutes-talk to me. The interview is an online interview, and he was outside the screen and I could not see him.
Interview questions [1]
Question 1
// 1. output? function test() { console.log(a); console.log(foo()); var a = 1; function foo() { return 2 } } test() // 2. output? let c = [100, 200, 330, 400]; let [a, ...b] = c; console.log(a, b); // 3. output? // Ans: 1undefined var y = 1; if (function f() { }) { y += typeof f; } console.log(y)