Fullstack Developer Interview Questions

3,983 fullstack developer interview questions shared by candidates

Implement an async waterfall function in javascript. An async waterfall function is a function that get two parameters: Tasks - An array of async functions to run. Each function should complete with any number of result values. The result values will be passed as arguments, in order, to the next task. callback - A callback to run once all the functions have completed. This will be passed the results of the last task's callback. Invoked with (err, [results]). The tasks from should run one after the other asynchronously. A call to this function should look like this: AsyncWaterfall([ function One(callback) { console.log("One called with", arguments) callback(null, 'one', 'two', 'three', 'four'); }, function Two(arg1, arg2, arg3, arg4, callback) { console.log("Two called with", arguments) // arg1 now equals 'one' and arg2 now equals 'two' setTimeout(function () { callback(null, 'three'); }, 1500) }, function Three(arg1, callback) { console.log("Three called with", arguments) // arg1 now equals 'three' callback(null, 'done'); }, ], function Done(err, result) { if (err) { console.log("Error!", err) } else { console.log("Done", result) } });
avatar

Fullstack Developer

Interviewed at Snappy

3.4
Aug 7, 2021

Implement an async waterfall function in javascript. An async waterfall function is a function that get two parameters: Tasks - An array of async functions to run. Each function should complete with any number of result values. The result values will be passed as arguments, in order, to the next task. callback - A callback to run once all the functions have completed. This will be passed the results of the last task's callback. Invoked with (err, [results]). The tasks from should run one after the other asynchronously. A call to this function should look like this: AsyncWaterfall([ function One(callback) { console.log("One called with", arguments) callback(null, 'one', 'two', 'three', 'four'); }, function Two(arg1, arg2, arg3, arg4, callback) { console.log("Two called with", arguments) // arg1 now equals 'one' and arg2 now equals 'two' setTimeout(function () { callback(null, 'three'); }, 1500) }, function Three(arg1, callback) { console.log("Three called with", arguments) // arg1 now equals 'three' callback(null, 'done'); }, ], function Done(err, result) { if (err) { console.log("Error!", err) } else { console.log("Done", result) } });

To complete a Challenge. The challenge consisted in develop a project with both Client and Server side. It was open for me to choose the stack. Client had to have some behaviour and features, and server needed an API REST.
avatar

Senior Fullstack Engineer

Interviewed at Voicemod

3.2
Jan 12, 2022

To complete a Challenge. The challenge consisted in develop a project with both Client and Server side. It was open for me to choose the stack. Client had to have some behaviour and features, and server needed an API REST.

Viewing 501 - 510 interview questions

Glassdoor has 3,983 interview questions and reports from Fullstack developer interviews. Prepare for your interview. Get hired. Love your job.