Topic 1 - Basic Operatus
Introduction
Basic operation that return value :
Basic operation that return boolean :
We can use .length at the end of our code to indicate system pointing out the length of content/string.
Operation
Basic operation that return value :
> 12 * 2 + 6
return value : 30Basic operation that return boolean :
> "My name is " + "John"
return string : My name is John
Length Check
We can use .length at the end of our code to indicate system pointing out the length of content/string.> "My name is " + "John".length
return length : 15
Comments
Post a Comment