Javascript Functions MCQ - Quiz

  • AtoString()
  • BvalueOf()
  • CtoLocaleString()
  • DtoPrecision()
  • AA random integer between 0 and 1
  • BA random float between 0 and 1
  • CA random float between -1 and 1
  • DNone of these
  • AExecutes a function once after a specified time interval
  • B Executes a function repeatedly at a specified time interval
  • CStops a function from being executed repeatedly
  • DNone of these
  • AExtracts a part of a string
  • B Replaces a part of a string with a new string
  • CConcatenates two strings
  • DNone of these
  • AEncodes a string as a URI component
  • BDecodes a URI component as a string
  • CRemoves special characters from a string
  • Dnone of these
  • AA function that is executed after a certain event occurs
  • BA function that is passed as an argument to another function
  • CA function that is executed immediately
  • DNone 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
  • DNone of these
  • Acalculates the area of a circle
  • Bconverts a string to uppercase
  • Cchecks if a string is a palindrome
  • Dsorts an array in ascending order
  • A the global object
  • B the function itself
  • Cthe object that the function is a property of
  • D the object that the function is called on
  • Athe global object
  • B the function itself
  • C the object that the function is a property of
  • Dthe object that the function is called on