Front End Developer Intern Interview Questions

12,597 front end developer intern interview questions shared by candidates

Phone Interview: Basic Javascript questions moslty all of them are listed in the previous experiences I studied all questions listed on glassdoor will highly recommend you to go through all glassdoor questions since 80% of my interview questions were repeated
avatar

Front End Developer

Interviewed at Meta

3.5
Jun 19, 2019

Phone Interview: Basic Javascript questions moslty all of them are listed in the previous experiences I studied all questions listed on glassdoor will highly recommend you to go through all glassdoor questions since 80% of my interview questions were repeated

5. var x; (function test() { console.log('x --'+ x); })(); //this is self invoking so print undefine because x is not assigned any value yet var y = function() { console.log('In y' + x); //function is not called from anywhere so this wont execute } another(); //this will call function another written below var x = 10; console.log(x); //will print 10 because x is assigned value 10 function another() { console.log(x); //will print undefine because x is not assigned any value yet }
avatar

Front End Developer

Interviewed at ServiceNow

4.1
Jul 29, 2020

5. var x; (function test() { console.log('x --'+ x); })(); //this is self invoking so print undefine because x is not assigned any value yet var y = function() { console.log('In y' + x); //function is not called from anywhere so this wont execute } another(); //this will call function another written below var x = 10; console.log(x); //will print 10 because x is assigned value 10 function another() { console.log(x); //will print undefine because x is not assigned any value yet }

3. What will be the console.log statements print const obj = { name: 'Billy', sing: function () { this.age = "20" console.log('a' , this); var anotherFunction = function() { this.age = "30" console.log('b', this); } anotherFunction(); } } obj.sing(); //first console will print properties of obj(name, age and sing) and second will print window object
avatar

Front End Developer

Interviewed at ServiceNow

4.1
Jul 29, 2020

3. What will be the console.log statements print const obj = { name: 'Billy', sing: function () { this.age = "20" console.log('a' , this); var anotherFunction = function() { this.age = "30" console.log('b', this); } anotherFunction(); } } obj.sing(); //first console will print properties of obj(name, age and sing) and second will print window object

Viewing 1881 - 1890 interview questions

See Interview Questions for Similar Jobs

Glassdoor has 12,597 interview questions and reports from Front end developer intern interviews. Prepare for your interview. Get hired. Love your job.