Write a polyfill for Promise.all
Senior Frontend Developer Interview Questions
1,626 senior frontend developer interview questions shared by candidates
Related to my previous projects.
1. Reverese string 2. Three sum 3. LRU Cache
After 3 days, I got a call, that ready for round 2 which was a codility test. I was not aware about the codility environment, so I was not able to clear this round. But questions were easy Q1. There is a nested menu data given. Show the menu when the submenu item is given, otherwise, only show the nav button. There were other requirements like: color of the menu, properties of the menu given. You need to use all the data which is given there Q2. There is an array with values name, content, rating. You need to write the logic to show star rating populated and empty stars based on the array value. Q3. Didn’t attempted, as time was not enough. But fetch data from api and show the country list and then there were scenarios on the basis of that your data will show up. Not able to recall correctly, but I guess search condition and flags of the country should also show up. When you execute your program, all the test cases should be executed. Only then, it will be considered as a completed one
Q5. What is Event Loop, explain with example
Q2. What is throttle and where to use? using the above coding question, Interviewer asked me whether we can use throttle here or not
LLD - browser.history implementation (pseudo code) HLD - survey tool (both survey creator and end user)
JS related questions with code snippets
Asked about website security and performance improvement
What the result will you get: console.log(new Set([1, 1, 5, 6]))
Viewing 801 - 810 interview questions