A callback function is passed as an ________ to other functions and is executed after its parent function has completed.

  • argument
  • object
  • attribute
  • expression
A callback function is passed as an "argument" to other functions in JavaScript. It is a function that is executed after its parent function has completed its execution. This allows for asynchronous operations and event handling in JavaScript.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *