State whether each of the following is true or false. If false, explain why.
1) JavaScript operators are evaluated from left to right.
2) The following are all valid variable names: _under_bar_, m928134, t5, j7, her_sales$,
his_$account_total, a, b$, c, z, z2.
3) A valid JavaScript arithmetic expression with no parentheses is evaluated from left to right.
4) The following are all invalid variable names: 3g, 87, 67h2, h22, 2h.
1) False.
Some operators associate from left to right.
2) True.
3) False.
All operators do not have the same precedence and associativity. Some operations are performed before others
(such as multiplication before addition).
4) False.
h22 is a valid variable name because it begins with a letter. Variable names in JavaScript can begin with a
letter, an underscore (_) or a dollar sign ($).
You might also like to view...
A variable name must begin with a(n) ____.
A. number B. ampersand C. letter D. underscore character
Choose the correct pronoun in the following sentence.Was it __________ who wrote that letter??
A. ?he B. ?him
Which of the following keys moves the insertion point to the end of data in a cell?
A. HOME B. DELETE C. END D. BACKSPACE
NICs send and receive binary data as pulses of all of the following EXCEPT ___________.
A. electricity B. radio waves C. gamma rays D. light