write()
Print value
to standard output. This is similar to C++'s std::cout
function
write(value)
value
(any) — A value to be printed
boolean
— Always returns true
a = 23
b = "Hello"
c = true
d = [1, 2, 3]
e = {id: "A23", name: "Clara"}
write(a) ' Output: 23
write(b) ' Output: Hello
write(c) ' Output: true
write(d) ' Output: array@0x02 ' Note: 0x02 is the address of array d
write(e) ' Output: object@0x03 ' Note: 0x03 is the address of object e