Asked me to write a throttle function in javascript. Well, essentially...he wanted me to write a function that would call another function, but not if it had been called within a certain set time, which is essentially what a throttle function is. I completely flailed, but it's a useful function to have...probably why they put it in the underscore library which is what I based this answer on.
Lead Front End Developer Interview Questions
4,411 lead front end developer interview questions shared by candidates
Given a string, return the number of each character appears in the string, example: //AAsssRRggggDAA ====> A2s3R2g4D1A2 //AAAAAbbbA =====> A5b3A1 //ABA =====> A1B1A1
Does CSS works ltr or rtl?
Using a nested for() loop is inefficient, can you do it more efficient than the native String.indexOf() method? Without nesting for loops or recursion.
technique interview
Given 2 identical DOM trees (but not equal) and one element of the first DOM tree, how would you find this element in the second DOM tree?
by phone: what is a difference between Object and Array, call and apply, what is DOM structure, what is time complexity of traversing through the DOM, other very basic questions. online interview: first question is about data structure, given two arrays, one of them is a map to another, you need to traverse and exclude from array objects according to the map, in general they expect from you to build an map object from key+value but you have to use ES6 MAP where key can be stored as object and not as string or ASCII coded string. The second question was about setTimeout browser api, you will be asked to clean all timeouts, the answer is to override setTimeout and store all of them in stuck and clean them if needed.
Flatten Array, Create Emitter
Q: Find the average length of a review and sort interviews by those closest to the average.
A series of tests where made based on my LinkedIn profile. Included Javascript, CSS, jQuery, SQL, English, Logic (IQ)
Viewing 61 - 70 interview questions