Senior Full Stack Engineer Interview Questions

1,781 senior full stack engineer interview questions shared by candidates

What is the output of the following code snippet? `const person = { name: 'John', age: 30, greet() { console.log(`Hi, my name is ${this.name} and I'm ${this.age} years old.`); } }; const greet = person.greet; greet();`
avatar

Senior Full-Stack Engineer

Interviewed at Andela

3.8
Nov 19, 2024

What is the output of the following code snippet? `const person = { name: 'John', age: 30, greet() { console.log(`Hi, my name is ${this.name} and I'm ${this.age} years old.`); } }; const greet = person.greet; greet();`

What is the output of the following code snippet? `function Animal(name) { this.name = name; } Animal.prototype.walk = function() { console.log(`${this.name} is walking.`); }; function Dog(name) { Animal.call(this, name); } Dog.prototype = Object.create(Animal.prototype); const myDog = new Dog('Rover'); myDog.walk();`
avatar

Senior Full-Stack Engineer

Interviewed at Andela

3.8
Nov 19, 2024

What is the output of the following code snippet? `function Animal(name) { this.name = name; } Animal.prototype.walk = function() { console.log(`${this.name} is walking.`); }; function Dog(name) { Animal.call(this, name); } Dog.prototype = Object.create(Animal.prototype); const myDog = new Dog('Rover'); myDog.walk();`

Viewing 461 - 470 interview questions

See Interview Questions for Similar Jobs

Glassdoor has 1,781 interview questions and reports from Senior full stack engineer interviews. Prepare for your interview. Get hired. Love your job.