Front End Software Engineer Interview Questions

21,131 front end software engineer interview questions shared by candidates

var X = function(someValue){ this.hello = function(){ return someValue; }; }; X.prototype.test = function(){ return this.someValue; }; var x = new X("hi"); ------ what will the following code return? alert(x.hello()); alert(x.test());
avatar

Front End Engineer

Interviewed at LinkedIn

3.8
Jul 28, 2010

var X = function(someValue){ this.hello = function(){ return someValue; }; }; X.prototype.test = function(){ return this.someValue; }; var x = new X("hi"); ------ what will the following code return? alert(x.hello()); alert(x.test());

Viewing 751 - 760 interview questions

See Interview Questions for Similar Jobs

Glassdoor has 21,131 interview questions and reports from Front end software engineer interviews. Prepare for your interview. Get hired. Love your job.