Javascript Interview Questions

1,680 javascript interview questions shared by candidates

General - what's O(n), which sorting algorithms do you know, how to sort numbers, knowing that number is in the first half, difficulty of sorting from 0 to 100. Html/css - difference between outside space/inner space, box components, is it possible to add func into inline component, types of position in css, difference. Js - compare strings and numbers (==/===), what's this, function declaration/expression vs arrow func, rest/spread operators, slice vs sort, map vs find, what returns a new array, what goes through the first array, timeout vs promise who will be the 1st in the console, write a func to get middle age. Ts - interfaces, union type, turples, utility types. React - virtual dom, what's jsx for, which limitations has, is it possible to return 2 divs from a component, how to solve it, hooks. Git - pull/push, what's code review for.
avatar

Student JavaScript Intern

Interviewed at EPAM Systems

4
Aug 18, 2024

General - what's O(n), which sorting algorithms do you know, how to sort numbers, knowing that number is in the first half, difficulty of sorting from 0 to 100. Html/css - difference between outside space/inner space, box components, is it possible to add func into inline component, types of position in css, difference. Js - compare strings and numbers (==/===), what's this, function declaration/expression vs arrow func, rest/spread operators, slice vs sort, map vs find, what returns a new array, what goes through the first array, timeout vs promise who will be the 1st in the console, write a func to get middle age. Ts - interfaces, union type, turples, utility types. React - virtual dom, what's jsx for, which limitations has, is it possible to return 2 divs from a component, how to solve it, hooks. Git - pull/push, what's code review for.

what is currying in the javascript Currying is a technique used to transform a function with multiple arguments into a sequence of nested functions, each taking a single argument. The curried function returns a new function for each argument until all arguments are provided, and then it finally returns the result. This technique allows for partial application of a function, meaning you can pass some arguments now and the rest later.
avatar

Senior Javascript Developer

Interviewed at Synechron

4.2
Mar 8, 2024

what is currying in the javascript Currying is a technique used to transform a function with multiple arguments into a sequence of nested functions, each taking a single argument. The curried function returns a new function for each argument until all arguments are provided, and then it finally returns the result. This technique allows for partial application of a function, meaning you can pass some arguments now and the rest later.

Viewing 91 - 100 interview questions

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