Tip 1: Learn the basics thoroughly.
Tip 2: Machine coding is a must.
Tip 3: Prepare your resume well.
Tip 1: Keep it to one page
Tip 2: Review it weekly and update or optimize it as needed
Write an example of the reduce function.
Follow-up: What happens if I don’t pass an initial value?
Machine Coding – The 'Select All' checkbox must be checked when all fruit checkboxes are selected and deselected when any one of them is unchecked.
What is a closure, and write an example. (Learn)
const p1 = () => Promise.resolve("resolve");
const p2 = () => Promise.resolve("resolve p2");
(async function(){
const res = await p1().then((res) => {
return p2()
});
console.log(res);
const res2 = await p1().then((res) => {
p2
});
console.log(res2)
}
)();
async function fun() {
console.log('A', await Promise.resolve("E").then(() => 'W'));
console.log('B', await Promise.resolve("F").then(() => console.log("H")));
}
fun();
Asked to implement your own connect function in Redux.
Asked about component lifecycle methods. (Learn)
Core Web Vitals – Which factors would you consider to optimise your web app?
Asked to implement a custom setInterval using setTimeout.

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
What is the purpose of the return keyword?