You are given 2 arrays of objects. Create a function that returns true if a user exists in the users array and has the right permissions based on the CRUD functions that exist in the permissions array.
Front End Associate Interview Questions
21,104 front end associate interview questions shared by candidates
DFS on HTML nodes
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.
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
Viewing 121 - 130 interview questions