Question 44Asked in DSSSB TGT Computer Science (Technical), 1 Aug 2021, Shift 3

In JavaScript a ________ function can be defined as a function passed into another function as a parameter.

  1. ACall front
  2. BCall back
  3. CRoll back
  4. DRoll front
Show answerHide answer

Correct answer: (B) Call back

Explanation

A callback function is passed as an argument to another function and called back inside it, e.g. in setTimeout or event handlers.

From DSSSB TGT Computer Science PYQ (Technical), 1 Aug 2021, Shift 3

This is question 44 of DSSSB TGT Computer Science PYQ (Technical), 1 Aug 2021, Shift 3. See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.