Why is API's calls are requested from componentDidMount and not from constructor
Senior Front End Engineer Interview Questions
2,004 senior front end engineer interview questions shared by candidates
var a = {a: 1} var b = Object.create(a) console.log(a) and console.log(b) a.a = 2 console.log(b.a) The interviewer got confused and said that the prototype is copied to b and if we change a.a it will not have any impact on b.a. But rather b's __proto__ will have a link to a and if we change or delete a.a it will be reflected in b
Write a polyfill for map and reduce
How to position the div - horizontally and vertically aligned with css
Implement a virtual scroller on large list items with react in 1 hour.
javascript currying and higher order functions
solid principles and examples like what you used and in what use case
Intro: implement tree menu in recursive and iterative way Second stage: extend implementation and fix specific bugs if left after first stage. Count element, implement api.
What is Angular and explain in depth about it
Comment Moderator — detect banned words and return only clean comments using hash lookup-based filtering. Memoization Function — build a wrapper that returns cached result for same inputs without recomputing. Cross the Threshold — find maximum barrier value such that total sum stays above threshold after energy reduction (binary search on answer space). Given a products array, return frequency count sorted by frequency; equal frequency sorted in descending alphabetical order. Shoot the plane problem. How do you measure web performance and what metrics are used? Explain core web performance metrics — LCP, CLS, INP. What root causes lead to poor values for these metrics and how can they be optimized? How would you optimize performance for a page with thousands of images? What types of frontend tests exist beyond unit testing and what are their differences and challenges? What storage options are available in the browser?
Viewing 641 - 650 interview questions