Skip to main content


Defining Strings

You can define string by using quotation: "

For example,


will be a string, while


is an object

Combining strings with a number

Whenever you add string to a number (or vice versa), the end result will be string. The numbers are implicitly converted into strings.