Const
Readonly
lineThe operating system specific string used to separate lines of text.
Returns the developer-readable [[Debug]] string for the given object
,
output using the given settings
. Delegates to [[Debug.debug]], if
object
implements Debug
; returns a JavaScript string literal, if
object
is a string
, and returns a JavaScript number literal, if
object
is a number
; otherwise returns the result of Object.toString
.
Optional
settings: OutputSettingsLikeWrites the code points of the developer-readable [[Debug]] string for the
given object
to output
. Assumes output
is a Unicode Output
writer
with sufficient capacity. Delegates to [[Debug.debug]], if object
implements Debug
; writes a JavaScript string literal, if object
is a
string
, and writes a JavaScript number literal, if object
is a
number
; otherwise writes the result of Object.toString
.
the continuation of the output
.
[[OutputException]] if the output
exits the cont state before
the full debug string has been written.
Returns the human-readable [[Display]] string for the given object
,
output using the given settings
. Delegates to [[Display.display]],
if object
implements Display
; otherwise returns the result of
Object.toString
.
Optional
settings: OutputSettingsLikeWrites the code points of the human-readable [[Display]] string for the
given object
to output
. Assumes output
is a Unicode Output
writer
with sufficient capacity. Delegates to [[Display.display]], if object
implements Display
; otherwise writes the result of Object.toString
.
the continuation of the output
.
[[OutputException]] if the output
exits the cont state before
the full display string has been written.
Generated using TypeDoc
utility functions for formatting values.