Senior Front End Developer Interview Questions

1,429 senior front end developer interview questions shared by candidates

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 241 - 250 interview questions

Glassdoor has 1,429 interview questions and reports from Senior front end developer interviews. Prepare for your interview. Get hired. Love your job.