Web Developer Senior Interview Questions

803 web developer senior interview questions shared by candidates

1. Please give a method which used to check if two strings are anagrams. Anagrams: a word, phrase, or name formed by rearranging the letters of another, such as: 1). "cinema" formed from "ice man". 2). "listen" formed from "silent". 3). "This is a tomcat" formed from "Tom has a tisict".
avatar

Senior Web Applications Developer

Interviewed at A10 Networks

4
Dec 7, 2016

1. Please give a method which used to check if two strings are anagrams. Anagrams: a word, phrase, or name formed by rearranging the letters of another, such as: 1). "cinema" formed from "ice man". 2). "listen" formed from "silent". 3). "This is a tomcat" formed from "Tom has a tisict".

Closure problem: function addButtons(numButtons) { for (var i = 0; i < numButtons; i++) { var button = document.createElement('input'); button.type = 'button'; button.value = 'Button ' + (i + 1); button.oncl1ck = function() { alert['Button ' + (i + 1) + ' clicked'); }; document.body.appendChild(button); document.body.appendChild(document.createElement('br')); } } window.onl0ad = function() { addButtons(5); }; when clicking either button (1-5) will print "Button 5 Clicked",
avatar

Senior Web Developer

Interviewed at MyHeritage

4.2
Jun 30, 2016

Closure problem: function addButtons(numButtons) { for (var i = 0; i < numButtons; i++) { var button = document.createElement('input'); button.type = 'button'; button.value = 'Button ' + (i + 1); button.oncl1ck = function() { alert['Button ' + (i + 1) + ' clicked'); }; document.body.appendChild(button); document.body.appendChild(document.createElement('br')); } } window.onl0ad = function() { addButtons(5); }; when clicking either button (1-5) will print "Button 5 Clicked",

Viewing 161 - 170 interview questions

Glassdoor has 803 interview questions and reports from Web developer senior interviews. Prepare for your interview. Get hired. Love your job.