The escape
function is a property of the global object. Special characters are encoded with the exception of: @*_+-./
The hexadecimal form for characters, whose code unit value is 0xFF
or less, is a two-digit escape sequence: %xx
. For characters with a greater code unit, the four-digit format %uxxxx
is used.