decodeDecode text using decodeURIComponent. Returns the original text if it fails. function decode(text?: string | number): string;§decode(text?: string | number): string[src]§Parameters§text?: string | number optional[src] string to decode §Return Type§string[src]decoded string