the argument of reduce and forEach and map in arrays
Javascript Developer Interview Questions
1,681 javascript developer interview questions shared by candidates
write code to unique object array from var obj = [ { name: 'xyz', id: '1' }, { name: 'abc', id: '2' }, { name: 'xyz', id: '1' }, { name: 'pqr', id: '3' }, ];
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.
What is an event loop?
Live coding: design an algorithm that will take a nested javascript object and condense it into a single level, with the nested keys separated by periods.
Write a one line code to reverse a string in javascript
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.
-How hackers attack you website / app? -Node.js commands, what are the numbers of version in package.json. - how we store data on backend ...
FizzBuzz %3,%5 %15 Find a duplicate number(1, N+!) in an array of N elements.
What is a DOCTYPE?
Viewing 91 - 100 interview questions