Course Hive
Search

Welcome

Sign in or create your account

Continue with Google
or
Advanced JavaScript Tutorial in Hindi [Part 94] - JavaScript Callback Function
Play lesson

JavaScript Tutorial in Hindi - Advanced JavaScript Tutorial in Hindi [Part 94] - JavaScript Callback Function

4.0 (0)
6 learners

What you'll learn

This course includes

  • 23.5 hours of video
  • Certificate of completion
  • Access on mobile and TV

Summary

Keywords

Full Transcript

#Javascript #Tutorial #Hindi Link for Complete JavaScript Tutorial in Hindi for Beginners: https://www.youtube.com/playlist?list=PLjpp5kBQLNTSvHo6Rp4Ky0X8x_MabmKye Link for Complete HTML and CSS Tutorial in Hindi for Beginners: https://www.youtube.com/playlist?list=PLjpp5kBQLNTSdLVVjU_kea8J8lP24ZseT In this video i will talk about JavaScript callback function. A function is a block of code that performs a certain task when called. A callback function is a function passed into another function as an argument, which is then invoked inside the outer function to complete some kind of routine or action. Why do we need Callback Functions? JavaScript runs code sequentially in top-down order. However, there are some cases that code runs (or must run) after something else happens and also not sequentially. This is called asynchronous programming. Callbacks make sure that a function is not going to run before a task is completed but will run right after the task has completed. It helps us develop asynchronous JavaScript code and keeps us safe from problems and errors. In JavaScript, the way to create a callback function is to pass it as a parameter to another function, and then to call it back right after something has happened or some task is completed. Let’s see how… Please subscribe to watch more videos like this: https://www.youtube.com/channel/UCWCGvAu1NDCldmLasELk62g?sub_confirmation=1

Course Hive

Continue this lesson in the app

Install CourseHive on Android or iOS to keep learning while you move.

Related Courses

FAQs

Course Hive
Download CourseHive
Keep learning anywhere