Javascript Interview Questions

1,680 javascript interview questions shared by candidates

During the interview, I had a live coding session with Vue, HTML and CSS coding taking place. I was asked to live code using everything that you can imagine from JS standards to weird CSS selectors and code optimizations.
avatar

Senior JavaScript Engineer

Interviewed at GitLab

3.6
Feb 1, 2020

During the interview, I had a live coding session with Vue, HTML and CSS coding taking place. I was asked to live code using everything that you can imagine from JS standards to weird CSS selectors and code optimizations.

- Debounce Implementation - Debounce v/s Throttle - Remove Duplicates - const arr2 = [2, 1, 5, 2, 3, 2]; const S = 7; pair whose sum is >= S
 Given an array of integers, and a number ‘sum’, print all unique pairs in the array whose sum is > than ‘sum’. - const arr2 = [2, 1, 5, 2, 3, 2]; Replace each element with multiplication of rest of the elements, keeping in mind Time complexity (avoid nested for loops) - HOC, ForwardRef, ContextAPI
Mar 25, 2024

- Debounce Implementation - Debounce v/s Throttle - Remove Duplicates - const arr2 = [2, 1, 5, 2, 3, 2]; const S = 7; pair whose sum is >= S
 Given an array of integers, and a number ‘sum’, print all unique pairs in the array whose sum is > than ‘sum’. - const arr2 = [2, 1, 5, 2, 3, 2]; Replace each element with multiplication of rest of the elements, keeping in mind Time complexity (avoid nested for loops) - HOC, ForwardRef, ContextAPI

Viewing 611 - 620 interview questions

Glassdoor has 1,680 interview questions and reports from Javascript interviews. Prepare for your interview. Get hired. Love your job.