Open martin-henz opened 2 months ago
obsolete:
What happens if we want to display the actual value undefined
?
obsolete:
What happens if we want to display the actual value
undefined
?
A small hack would be needed:
display(value, "the value is:" + (is_undefined(value) ? " undefined" : ""))
Currently
prints:
and
prints:
This works quite well, with the exception that sometimes, I want to display a (possibly multi-line) string without quotation marks, and without a value coming after it. I propose that we introduce
print(string)
:should just display
without quotation marks.