Remove extra quote in strings example
More like triple quote amirite
This commit is contained in:
parent
126dc58ea5
commit
9c07f3dbb0
@ -10,7 +10,7 @@ print("foo" < "bar"); // string comparison
|
||||
print("foo" >= "bar"); // string comparison
|
||||
print("the answer is " + 42); // string building using non-string types
|
||||
|
||||
let s = "\u2764" hello, world! \U0001F603"; // string variable
|
||||
let s = "\u2764 hello, world! \U0001F603"; // string variable
|
||||
print("length=" + s.len); // should be 17
|
||||
|
||||
s[s.len-3] = '?'; // change the string
|
||||
|
Loading…
Reference in New Issue
Block a user