Top 80+ Solved JavaScript MCQ Questions Answer
Q. Which of the following is not considered a JavaScript operator?
a. new
b. this
c. delete
d. typeof
Q. ______method evaluates a string of JavaScript code in the context of thespecified object.
a. Eval
b. ParseInt
c. ParseFloat
d. Efloat
Q. Which of the following event fires when the form element loses the focus:<button>, <input>, <label>, <select>, <textarea>?
a. onfocus
b. onblur
c. onclick
d. ondblclick
Q. The syntax of Eval is _______.
a. [objectName.]eval(numeriC.
b. [objectName.]eval(string)
c. [EvalName.]eval(string)
d. [EvalName.]eval(numeriC.
Q. Using _______ statement is how you test for a specific condition.
a. Select
b. If
c. Switch
d. For