JavaScript Operators

JavaScript Operators

memorize.aimemorize.ai (lvl 286)
Section 1

Preview this deck

Can assignment operators be used on strings? Give an example.

Front

Star 0%
Star 0%
Star 0%
Star 0%
Star 0%

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Active users

0

All-time users

2

Favorites

0

Last updated

6 years ago

Date created

Mar 1, 2020

Cards (6)

Section 1

(6 cards)

Can assignment operators be used on strings? Give an example.

Front

Yes. var txt1 = "What a very "; txt1 += "nice day";

Back

Arithmetic Operator **

Front

Exponentiation

Back

Arithmetic Operator —

Front

Decrement

Back

Arithmetic Operator ++

Front

Increment

Back

Arithmetic Operator %

Front

Modulous (division remainder)

Back

How to make assignment operator with an arithmetic equation?

Front

Add the = after the arithmetic operator

Back