Describe Redux
React Front End Developer Interview Questions
106 react front end developer interview questions shared by candidates
Tell us a little more about this time clock system
How was your last job?
Parte mas dificil de proyectos en los que he trabajado.
Describe an project that you have done
Describe an project that you have done
What is your background?
Write a function changeKey(obj, oldKey, newKey) that recursively replaces all occurrences of oldKey with newKey in an object or array. Do not change the key if it is "id". let obj = { id: 7373, data: [ { type: "1", id: 73 }, { name: "xyz", type: "23", vas_id: 73, x_data: [{ id: 72, data: { xx_data: { id: 673, a: ["id"] } } }, "id"], }, "abc", "id", 123, { id: { data: 123, id: ["a", "b"] } }, ], };
1. What will be the output of the following code? let i = 1; function incrementByValue(value) { i += value; return i; } function limit(fn, maxCalls) { let calls = 0; return function (...args) { if (calls < maxCalls) { calls += 1; return fn(...args); } return undefined; }; } const callbytimes = limit(incrementByValue, 2); console.log(callbytimes(2)); console.log(callbytimes(3)); console.log(callbytimes(4)); console.log(callbytimes(10));
Viewing 1 - 10 interview questions