|
Javascript has various value types including strings, numbers, booleans, etc. Here are a few basic examples. |
|
|
Strings, which can be added together with |
|
|
Javascript has one number type. |
|
|
It can be used for both integers and decimals. |
|
|
Booleans, with boolean operators as you’d expect. |
|
|
Next example: Variables.