JS() (gb.util.web)

Static Function JS ( Value As Variant ) As String

Convert any expression to its JavaScript string representation.