encoding

open external val encoding: String(source)

Returns "utf-8".

MDN Reference