• Post author:
  • Post category:Computer


891. Which of them is not the looping structures in JavaScript?
A. for
B. while
C. forwhich
D. dowhile

892. What is defination of an undefined value in JavaScript?
A. Variable used in the code doesn’t exist
B. Variable is not assigned to any value
C. Property doesn’t exist
D. All of the above

893. What are the types of Pop up boxes available in JavaScript?
A. Alert
B. Prompt
C. Confirm
D. All of the above

894. what is the disadvantage of using innerHTML in JavaScript?
A. Content can not be replaced everywhere
B. We can use like “appending to innerHTML”
C. Even if you use +=like “innerHTML = innerHTML + ‘html'” still the old content is replaced by html
D. The entire innerHTML content is not re-parsed and build into elements, therefore its not slower

895. What are the two basic groups of dataypes in JavaScript?
A. Primitive
B. Reference types.
C. All of the above
D. None of the above

896. Which of the following are the errors in JavaScript?
A. Load time errors
B. Run time errors:
C. Logical Errors:
D. All of the above

897. Which of the following are the functional components in JavaScript?
A. First-class functions
B. Encapsulated-class functions
C. Fixed-class functions
D. All of the above

898. Which of the following is not the properties of screen objects in JavaScript?
A. AvailHeight
B. ColorsDepth
C. AvailWidth
D. ColorDepth

899. Javascript string using double quotes is exactly the same as a string using single quotes?
A. True
B. False

900. Which of the following function of Array object applies a function simultaneously against two values of the array (from right-to-left) as to reduce it to a single value?
A – pop()
B – reduce()
C – push()
D – reduceRight()