Software Ui Developer Interview Questions

12,449 software ui developer interview questions shared by candidates

What is the output of below program. var a = [1,2,3,4] for (var i=0; i<a.length; i++){ setTimeout(function(){ console.log(i) },1000) } ( My Ans : it will print 4 5 times as it will store the latest reference) Next They asked me : How can i print 1,2,3,4 by changing some code in above example
avatar

Senior UI Developer

Interviewed at ValueLabs

4
Feb 16, 2018

What is the output of below program. var a = [1,2,3,4] for (var i=0; i<a.length; i++){ setTimeout(function(){ console.log(i) },1000) } ( My Ans : it will print 4 5 times as it will store the latest reference) Next They asked me : How can i print 1,2,3,4 by changing some code in above example

.2 rounds ..1st round. written technical two js programs like Simple HTML page with three input fields and validation second one is js to find sum of numbers.....2nd round f2f technical...questions about..js hosting..oop oriented javascript..navigation in HTML...display 3 divs in same row.......
avatar

UI Developer

Interviewed at Capgemini

4.1
Apr 19, 2015

.2 rounds ..1st round. written technical two js programs like Simple HTML page with three input fields and validation second one is js to find sum of numbers.....2nd round f2f technical...questions about..js hosting..oop oriented javascript..navigation in HTML...display 3 divs in same row.......

Viewing 11 - 20 interview questions

See Interview Questions for Similar Jobs

Glassdoor has 12,449 interview questions and reports from Software ui developer interviews. Prepare for your interview. Get hired. Love your job.