Candidatei-me online. Fui entrevistado pela NinjaOne em out. de 2025
Entrevista
This interview process was conducted by a company called G2i, but was for a role at NinjaOne, which I believe had a hand in selecting the interview contents.
First round was a self-interview where you recorded yourself answering text questions. Second round began with quizzing obscure JavaScript knowledge, which the interviewer claimed was "baseline". Apparently, I was supposed to know that setTimeout() has a default minimum throttle of 4ms and would execute after a Promise resolution, even when set to a timeout of 0. I've never needed that knowledge over 10 years in software dev, and if I ever ran into a situation where I would need it, I'd just consult the documentation like a normal person, not already have that info memorized for no prior reason.
Perguntas de entrevista [1]
Pergunta 1
Write the output of these 4 statements:
console.log(1)
console.log(setTimeout(() => { return 2; }, 0));
console.log(Promise.resolve(3));
console.log(4);