mirror of
https://github.com/wren-lang/wren.git
synced 2026-01-16 20:28:04 +01:00
- Rename IO.write -> IO.print. - Make IO.write not print a newline. - Support \u Unicode escapes in strings.
14 lines
369 B
Plaintext
14 lines
369 B
Plaintext
IO.print(Num == Num) // expect: true
|
|
IO.print(Num == Bool) // expect: false
|
|
|
|
// Not equal to other types.
|
|
IO.print(Num == 123) // expect: false
|
|
IO.print(Num == true) // expect: false
|
|
|
|
IO.print(Num != Num) // expect: false
|
|
IO.print(Num != Bool) // expect: true
|
|
|
|
// Not equal to other types.
|
|
IO.print(Num != 123) // expect: true
|
|
IO.print(Num != true) // expect: true
|