Junior Front End Engineer Interview Questions

17,095 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 701 - 710 interview questions

See Interview Questions for Similar Jobs

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