Skip to main content
Version: 3.0.0

TextEncoder()

The TextEncoder() constructor returns a newly created TextEncoder object that will generate a byte stream with UTF-8 encoding.

Syntax

new TextEncoder()

Parameters

None.