+ 10
Js interview questions
8 Respuestas
+ 13
1.Explain event delegation
2.Explain how this works in JavaScript
3.Explain how prototypal inheritance works
4.What do you think of AMD vs CommonJS?
5.Explain why the following doesn't work as an IIFE: function foo(){ }(); .
6.What needs to be changed to properly make it an IIFE?
7.What's the difference between a variable that is: null ,
undefined or undeclared?
8.How would you go about checking for any of these states?
9.What is a closure, and how/why would you use one?
+ 10
10.Can you describe the main difference between a forEach loop and a .map() loop and why you would pick one versus the other?
11.What's a typical use case for anonymous functions?
12.How do you organize your code? (module pattern, classical inheritance?)
13.What's the difference between host objects and native objects?
14.Difference between: function Person(){} , var person = Person() , and var person = new Person() ?
15.What's the difference between .call and .apply ?
16.Explain Function.prototype.bind .
17.What's the difference between feature detection, feature inference, and using the UA string?
18.Explain Ajax in as much detail as possible.
19.What are the advantages and disadvantages of using Ajax?
20.Explain how JSONP works (and how it's not really Ajax).
21.Have you ever used JavaScript templating?
22.If so, what libraries have you used?
+ 8
BELOW ARE SOME POSSIBLE JS INTERVIEW QUESTIONS
+ 8
Hethal Awesome compilation of JS questions.
Satyendra Singh yes sololearn material is a gentle start, to answer these questions you ll have to spend considerable effort in doing javascript projects and learning from books, articles, mozilla . i have been learning javascript from some time now and I cant answer them all :-)
Dmitriy Chumikov answering all will be tough, but if you have any special question in mind, please reply, I ll make a code on that or refer a good article on that topic. btw visph did an Awesome compilation for these questions, check that out
+ 7
Deeply answering here to ALL of this questions cannot be done and even by trying to answer very shortly, that doesn't fit into a SL Q&A answer ^^
So I've wrote it into this web code:
https://code.sololearn.com/WNaE5944iwKF/?ref=app
However, the book series "You don't know JS" is a very good source for most of all these deep subject, and don't forgot that Google is your friend as much as these questions are not intended to be a multi-choice questionnaire with simple yes/no answer but to test how deep is your skill/knowledge... so there are no really ready made answer to review before an interiew, but skill/knowledge to acquire instead mostly by practicing :P
+ 5
These things r not taught in SoloLearn...
+ 2
can some one post answers for this questions? :)
+ 1
Hi guys , anyone preping for interviews ? Try these questions too
CIMCQ SERIES
Coding interview most commom questions
https://code.sololearn.com/WqtMa5Cn7t8A/?ref=app
https://code.sololearn.com/W4vAQ23q605a/?ref=app
https://code.sololearn.com/Wbr7sC3ZtoxQ/?ref=app
https://code.sololearn.com/WgQn2UukM7Fq/?ref=app
https://code.sololearn.com/WHkBJHZ8Ch1K/?ref=app
https://code.sololearn.com/WQKy5xVNK8cN/?ref=app
https://code.sololearn.com/WZIC032iB2W3/?ref=app
https://code.sololearn.com/WVMq9Xil6v84/?ref=app
https://code.sololearn.com/W4nOqcB5MsUo/?ref=app