#pashto #webdevelopment #javascript
In this lesson of web development module 4, we will add remarks and will revise the learning until lesson 4. What is the event function?
An Event function is an asynchronous task function that is associated with an Event Listener. An Event function is created to execute a task on the occurrence of a specified event.A function in JavaScript is similar to a procedure—a set of statements that performs a task or calculates a value, but for a procedure to qualify as a function, it should take some input and return an output where there is some obvious relationship between the input and the output.
In this lesson of web development module 4, we will add remarks and will revise the learning until lesson 4. What is the event function?
An Event function is an asynchronous task function that is associated with an Event Listener. An Event function is created to execute a task on the occurrence of a specified event.A function in JavaScript is similar to a procedure—a set of statements that performs a task or calculates a value, but for a procedure to qualify as a function, it should take some input and return an output where there is some obvious relationship between the input and the output.
- Category
- Web design
Be the first to comment