mirror of
https://github.com/wren-lang/wren.git
synced 2026-01-12 06:38:45 +01:00
- Rename IO.write -> IO.print. - Make IO.write not print a newline. - Support \u Unicode escapes in strings.
8 lines
190 B
Plaintext
8 lines
190 B
Plaintext
// Escape characters.
|
|
IO.print("\"") // expect: "
|
|
IO.print("\\") // expect: \
|
|
IO.print("(\n)") // expect: (
|
|
// expect: )
|
|
|
|
// TODO: Non-printing escapes like \t.
|