Javascript escape Function

As its name indicates, Javascript escape function is used to encodes the string value into world wide acceptable format.

The escape function does not consider digits,latin letters and special characters like + - * / . _ @ to convert but convert all other characters with ASCII code of the original character preceded by % symbol.

Javascript escape function accept string parameter and return corresponding encoded string value.

Syntax

Javascript escape Function Example