The syntax of Eval is ________________
[objectName.]eval(numeri).
[objectName.]eval(string)
[EvalName.]eval(string)
[EvalName.]eval(numeri).
______method evaluates a string of JavaScript code in the context of the specified object.
Eval
ParseInt
ParseFloat
Efloat
Which of the following is not a comparison operator ?
++
>=
==
===
Integer Variable + Character Variable + Undefined Variable = ______________ Value
Undefined Value
Integer
Character
Text / String Value
Which of the following operator is used to concatenate two strings.
Dot
Arrow
Comma
Plus
What will be the output of the following script ?
<!DOCTYPE html> <html> <body> <script> var x = 5; document.write(x === "5"); </script> </body> </html>
5
True
1
False
"Add and Assignment" operator is shown by this symbol.
+==
+=
==+
=+
"+=" operator can operate on following data values.
Float
String
All Options
"++" is __________ type of operator.
Ternary
Binary
Unary
None of these
Adding String and Integer always results in _________.
JavaScript contains a _________________ that assigns a value to a variable based on some condition.
Bitwise Operator
Logical Operator
Assignment operator
Conditional operator
Assignment Operators is following type of operator ______________.
Unarry
Conditional Operator shown in the following example is _____________.
marks = (mark<35)?"Fail":"Pass";
Unary Operator
Binary Operator
Ternary Operator
None Of These
Which of the following is not an logical operator ?
&&
||
!
|
"===" operator is _______________.
Is equal to
Is identical (is equal to and is of the different type)
Is identical (is equal to and is of the same type)
Which of the following operators not comes under assignment Operator ?Select all possible options.
=
%=
Guess the ternary operator used in the following example !!!
Conditional Operator
Colon Operator
Which of the following is not considered a JavaScript operator?
new
this
delete
typeof
<!DOCTYPE html> <html> <body> <script> var x = 5; document.write(x == "5"); </script> </body> </html>
false
true
Undefined
"++" can operate only on ________________.
Constants
Text
Variables
What type of value gets printed if we add following two variables.
var a = "1"; var b = 5;
Long
Number