javascript-questions
javascript-questions copied to clipboard
A long list of (advanced) JavaScript questions, and their explanations :sparkles:
Output of the code is -> 4 5 6 and **15**, because we invoked the add function which returns the sum value.
Hi! I corrected a few typos and deleted the parts in english (the translation in italian was already there).
Issue: https://github.com/lydiahallie/javascript-questions/issues/672
Hello @lydiahallie, Here I have fix the small correction for question no. 37. Please take a look.
Hello @lydiahallie, Great job first of all. While going through the QA i found little correction. The answer of 37 is correct but the order of element is wrong. Given:...
 In this question console.log is missing due to which nothing would be printed. But the answer it is showing as A which is incorrect.
I've changed the answer of Q.76 from C to D. as name is not defined in the scope which leads to ReferenceError
https://github.com/lydiahallie/javascript-questions#76-whats-the-output The answer to question number 76 should be 'C' undefined if we console.log(name). And if the answer is correct then in question console log should be console.log(myName) instead of...