Web Engineer Interview Questions

16,668 web engineer interview questions shared by candidates

Closure. There was a question about closures and using one to limit how many times you can call a function. So imagine you had a function that would print out the number 1. Then they wanted to demonstrate the ability of using closures in Javascript, where you limit how many times you can call a function. So if you set the limit to two, then you call the function three times, it would print out 1, 1, undefined.
avatar

Web Engineer

Interviewed at Spotify

4
Apr 6, 2019

Closure. There was a question about closures and using one to limit how many times you can call a function. So imagine you had a function that would print out the number 1. Then they wanted to demonstrate the ability of using closures in Javascript, where you limit how many times you can call a function. So if you set the limit to two, then you call the function three times, it would print out 1, 1, undefined.

Viewing 121 - 130 interview questions

See Interview Questions for Similar Jobs

Glassdoor has 16,668 interview questions and reports from Web engineer interviews. Prepare for your interview. Get hired. Love your job.