Java Reference
In-Depth Information
typeof "hello"
The operator is
typeof
and the string
"hello"
is the operand.
A
binary operator
requires two operands; for instance:
3 + 5
The operator is
+
and the numbers
3
and
5
are the operands. There is also a
ternary operator
that requires three operands, which is covered in the next
chapter.