String is simple text type. We need a ” for working with the string
We can use single ‘ too.
We can add strings using + between two strings
When we add number + string. Java script made it to string
But when we delete string from a number. It assume that string is a number.
When we try to delete string from string it give us NaN
We normally don’t do this, When we do any arithmetic operation, we don’t contain any string in there. So that we’re not facing any issue.
Do you learned something about string today?