taskRunner.add(logAfterDelay("Delayed by 4")); taskRunner.add(logAfterDelay("Delayed by 4")); taskRunner.add(logAfterDelay("Delayed by 4")); taskRunner.add(logAfterDelay("Delayed by 6")); taskRunner.add(logAfterDelay("Delayed by 6")); taskRunner.add(logAfterDelay("Delayed by 6")); // --- Helpers --- const startingTime = Date.now(); function logAfterDelay(logString) { return () => { return new Promise((resolve, reject) => { setTimeout(() => { console.log(logString, getDelay(startingTime)); resolve(); }, 2000); }); }; } function getDelay(startingTime) { return [${Math.round((Date.now() - startingTime)/1000)}s delay]; }
Frontend Software Engineer Interview Questions
13,290 frontend software engineer interview questions shared by candidates
They asked why I'm a fit for the role.
What do u know about semantic elements in HTML?
1. Write a prime number sieve based on given requirements 2. Depth-first search problem
what is the major benifites of using react and using someother framework and all
Take home task was standard client side frontend application consuming a public API. Shared deployed url and code via GitHub. Code was reviewed in isolation (no chance for feedback / address issues) by a less experienced frontend developer (which fits with why they are trying to fill this role). Feedback indicated that the reviewer was unable to understand interesting code design choices and instead made incorrect or basic comments e.g. "split into more files".
What is your perfect working place?
In Technical round, They asked to fetch data from the api they have given, I mostly use functional component but they asked me to use class components , and then sort that data on click, also they asked a little bit nodejs too.
Stage 5: What to do if a manager came and said to do something in 3 days
I'm not going to give it away, but it was along the lines of "get as far as you can in two hours, showing off your skills" building out a UI. It's a legitimate two hour task.
Viewing 981 - 990 interview questions