Javascript Functions MCQ - Quiz

  • A Executes a function once after a specified time interval
  • B Executes a function repeatedly at a specified time interval
  • C Stops a function from being executed repeatedly
  • D None of these
  • A the global object
  • B the function itself
  • C the object that the function is a property of
  • D the object that the function is called on
  • A A function that returns another function
  • B A function that takes another function as an argument
  • C A function that does both of the above
  • D none of these
  • A Checks if a value is a finite number
  • B Checks if a value is infinite
  • C Checks if a value is not a number
  • D None of these
  • A A function that returns an iterator
  • B A function that yields a value
  • C A function that does both of the above
  • D None of these
  • A Sorts the elements of an array in ascending order
  • B Sorts the elements of an array in descending order
  • C Sorts the elements of an array in random order
  • D None of these
  • A A function that is executed after a certain event occurs
  • B A function that is passed as an argument to another function
  • C A function that is executed immediately
  • D None of these
  • A A function that is defined inside another function
  • B A function that has access to the outer function's variables
  • C A function that is bound to an object
  • D None of these
  • A the global object
  • B the function itself
  • C the object that the function is a property of
  • D the object that the function is called on