@@ -13,6 +13,7 @@ permalink: /questions/javascript-questions/index.html
1313* What is a closure, and how/why would you use one?
1414* What language constructions do you use for iterating over object properties and array items?
1515* Can you describe the main difference between the ` Array.forEach() ` loop and ` Array.map() ` methods and why you would pick one versus the other?
16+ * Сan you describe other popular methods for iterating over arrays?
1617* What is a typical use case for anonymous functions?
1718* What is the difference between host objects and native objects?
1819* Explain the difference between: ` function Person(){} ` , ` var person = Person() ` , and ` var person = new Person() ` ?
@@ -40,6 +41,7 @@ permalink: /questions/javascript-questions/index.html
4041* What is event loop?
4142 * What is the difference between call stack and task queue?
4243* What are the differences between variables created using ` let ` , ` var ` or ` const ` ?
44+ * Can you change a property of an object defined via ` const ` ? How you can change this behavior?
4345* What are the differences between ES6 class and ES5 function constructors?
4446* Can you offer a use case for the new arrow ` => ` function syntax? How does this new syntax differ from other functions?
4547* What advantage is there for using the arrow syntax for a method in a constructor?
@@ -53,6 +55,8 @@ permalink: /questions/javascript-questions/index.html
5355* What is the difference between ` while ` and ` do-while ` loops in JavaScript?
5456* What is a promise? Where and how would you use promise?
5557* Discuss how you might use Object Oriented Programming principles when coding with JavaScript.
58+ * What is the difference between ` event.target ` and ` event.currentTarget ` ?
59+ * What is the difference between ` event.preventDefault() ` and ` event.stopPropagation() ` ?
5660
5761## Coding questions
5862* Make this work:
0 commit comments