Basic JavaScript MCQ - Quiz

  • A Function prototype
  • B Function literal
  • C Function calling
  • D Function declaration
  • A JavaScript uses equalto()
  • B JavaScript uses equals() and notequals() instead
  • C JavaScript uses bitwise checking
  • D JavaScript uses === and !== instead
  • A local variable
  • B global variable
  • C both of these
  • D none of these
  • A A URL that uses the special javascript:protocol
  • B A URL that uses the special javascript:code
  • C A URL that uses the special javascript:encoding
  • D A URL that uses the special javascript:stack
  • A Both x and y are equal in value, type and reference address as well.
  • B Both are x and y are equal in value only. .
  • C Both are equal in the value and data type.
  • D Both are not same at all
  • A global variable
  • B local variable
  • C Both of the above.
  • D None of the above.