How many times would `addEventListener('scroll', handleScroll);` run as the user looks at their News Feed? And what would be user experience if the `handleScroll` function takes 100ms to execute.
Front End Engineer Interview Questions
14,960 front end engineer interview questions shared by candidates
write a function and return true or false if there is a pair of number that sum up as 10.
Write a basic template engine class
Related to question 1, how could you implement debouncing? Say you wanted the `handleScroll` function to be called only after 200ms has passed between scroll events.
How do you draw a diagonal line on a page without using SVG/VML ?
How many characters in the front of a string would need to be added in order to make it a palindrome.
Describe some of the differences between HTML5 and HTML4.
Write the output of the following code: cout<<2++<<endl; count<<3++<<endl;
How would you pick the middle element of a list
Animate a given element using JS across any given time frame
Viewing 21 - 30 interview questions