Front End Developer Intern Interview Questions

12,597 front end developer intern interview questions shared by candidates

* They give me a site that needs to scrape and search for links. * save those links on the best data structure format * if the link is from the same domain - do the same process on it too. * keep the scanning level depth (for each branch)
avatar

Front End Developer

Interviewed at monday.com

4
Oct 15, 2018

* They give me a site that needs to scrape and search for links. * save those links on the best data structure format * if the link is from the same domain - do the same process on it too. * keep the scanning level depth (for each branch)

1. Find the position of first duplicate element in a string. 2. Concatenate two array and find the unique element from it. 3. Input array [3,4,5] output array [20, 15,12] 4. What is promise, how can you execute array of promise sequence by sequence- use generator concept 5. How to build a npm package That's it, All the best.
avatar

Front End Developer

Interviewed at Apple

4.1
Dec 24, 2019

1. Find the position of first duplicate element in a string. 2. Concatenate two array and find the unique element from it. 3. Input array [3,4,5] output array [20, 15,12] 4. What is promise, how can you execute array of promise sequence by sequence- use generator concept 5. How to build a npm package That's it, All the best.

//Give me the output console for the following piece of code : var foo = 'foo'; function bar() { setTimeout(() => { console.log(foo); }, 0); console.log(foo); // undefined console.log(bar()); // undefined console.log(foo); // bartwo var foo = 'bar'; function bar() { foo = 'bartwo'; } console.log(foo); // bar } bar(); console.log(foo);
avatar

Senior Front End Developer

Interviewed at Apple

4.1
Nov 10, 2017

//Give me the output console for the following piece of code : var foo = 'foo'; function bar() { setTimeout(() => { console.log(foo); }, 0); console.log(foo); // undefined console.log(bar()); // undefined console.log(foo); // bartwo var foo = 'bar'; function bar() { foo = 'bartwo'; } console.log(foo); // bar } bar(); console.log(foo);

Outer join two arrays const a = [ { id: 3, name: 'Matt' }, { id: 4, name: 'Greg' }, { id: 1, name: 'David' }, { id: 2, name: 'John' } ] const b = [ { id: 7, position: 'Outlier' }, { id: 2, position: 'Leader' }, { id: 3, position: 'Captain' }, { id: 6, position: 'Rogue' }, { id: 4, position: 'VP' }, { id: 5, position: 'Pawn'} ] Should create the following joined array:
 [ { id: 1, name: 'David', position: null}, { id: 2, name: 'John', position: 'Leader' },
 { id: 3, name: 'Matt', position: 'Captain' },
 { id: 4, name: 'Greg', position: 'VP' },
 { id: 5, position: 'Pawn', name: null }
 { id: 6, position: 'Rogue', name: null },
 { id: 7, position: 'Outlier', name: null } ]  Should create the following joined array:
 [ { id: 1, name: 'David', position: null },
 { id: 2, name: 'John', position: 'Leader' },
 { id: 3, name: 'Matt', position: 'Captain' },
 { id: 4, name: 'Greg', position: 'VP' },
 { id: 5, position: 'Pawn', name: null }
 { id: 6, position: 'Rogue', name: null },
 { id: 7, position: 'Outlier', name: null } ]
avatar

Senior Front End Developer

Interviewed at Apple

4.1
Nov 10, 2017

Outer join two arrays const a = [ { id: 3, name: 'Matt' }, { id: 4, name: 'Greg' }, { id: 1, name: 'David' }, { id: 2, name: 'John' } ] const b = [ { id: 7, position: 'Outlier' }, { id: 2, position: 'Leader' }, { id: 3, position: 'Captain' }, { id: 6, position: 'Rogue' }, { id: 4, position: 'VP' }, { id: 5, position: 'Pawn'} ] Should create the following joined array:
 [ { id: 1, name: 'David', position: null}, { id: 2, name: 'John', position: 'Leader' },
 { id: 3, name: 'Matt', position: 'Captain' },
 { id: 4, name: 'Greg', position: 'VP' },
 { id: 5, position: 'Pawn', name: null }
 { id: 6, position: 'Rogue', name: null },
 { id: 7, position: 'Outlier', name: null } ]  Should create the following joined array:
 [ { id: 1, name: 'David', position: null },
 { id: 2, name: 'John', position: 'Leader' },
 { id: 3, name: 'Matt', position: 'Captain' },
 { id: 4, name: 'Greg', position: 'VP' },
 { id: 5, position: 'Pawn', name: null }
 { id: 6, position: 'Rogue', name: null },
 { id: 7, position: 'Outlier', name: null } ]

Viewing 1941 - 1950 interview questions

See Interview Questions for Similar Jobs

Glassdoor has 12,597 interview questions and reports from Front end developer intern interviews. Prepare for your interview. Get hired. Love your job.