unescape

Modified on Wed, 05 Apr 2023

Use this function to convert the HTML entities to their corresponding characters.

Syntax

unescape(input text)

Returns

Return ValueDescription
Text
Return the HTML entities to their corresponding characters

Sample

unescape("I'm learning JavaScript & HTML!"): Returns output as "I'm learning JavaScript & HTML!"