Junior Front End Engineer Interview Questions

12,964 junior front end 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 651 - 660 interview questions

See Interview Questions for Similar Jobs

Glassdoor has 12,964 interview questions and reports from Junior front end engineer interviews. Prepare for your interview. Get hired. Love your job.