All incomplete examples have been updated and some corrections have been made to the parser to make them work. (0.37.17)
This commit is contained in:
parent
37c5ae6f58
commit
92aacff71a
41 changed files with 654 additions and 130 deletions
|
|
@ -52,3 +52,26 @@ print(typeof(cast(42, "Function"))) // -> "Nil"
|
|||
print(cast(cast("42", "Number"), "String")) // -> "42"
|
||||
|
||||
print("=== Done ===")
|
||||
|
||||
/* Expected output:
|
||||
=== CAST demo ===
|
||||
123
|
||||
0
|
||||
42
|
||||
100
|
||||
String
|
||||
0
|
||||
1
|
||||
Array
|
||||
1
|
||||
42
|
||||
String
|
||||
0
|
||||
Nil
|
||||
Function
|
||||
Nil
|
||||
42
|
||||
=== Done ===
|
||||
*/
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue