1. What do you mean by event delegation?
Event delegation allows us to handle events with convenience. It eliminates the need for adding event listeners to every event that is of similar nature. Developers can add event listeners to a parent event instead and rely on the .target property of an event object. It will allow us to call an event on a specific target.
2. What is the use of ECMAScript?
3. When should you use prototypal inheritance?
Prototypal inheritance is a suitable choice where we cannot use functional programming or modules. They allow composition that creates can-do, uses-a, or has-a relations instead of is-a relation developed with class inheritance. Additionally, different types of prototypal inheritance are used for different use cases.
6. What is the difference between one-way data flow and two-way data binding?
One-way data flow allows data to move in one direction and makes it easy to comprehend. It also signifies the model is a single source of truth. Additionally, only the model is granted access to manipulate the state of the app.
Two-way data binding indicates the model and data are dynamically bounded. So, any change in model data or UI field affects the other one.
7. What do you mean by higher-order function? Can you give some examples?
8. What are the two types of typed language?
The two types of typed language are dynamically and statically typed language. Dynamically typed language can accommodate numerous types. On the other hand, statically typed language can accommodate only one type. In both cases, values relate to values instead of variables.
9. What are the benefits of microservice architectures?
Microservices allows an app to run based on several individual applications. It is easy to maintain such architectures as the components are not dependent on one another. Additionally, microservices make your app easier to arrange. We can also make changes to the code easily without affecting the whole app.
10. What is the use of the prompt box?
Join us on social networks!