Searched refs:TextEncoder (Results 1 – 1 of 1) sorted by relevance
41 if (typeof TextEncoder === 'undefined') {42 let TextEncoder = function TextEncoder() {}; function43 TextEncoder.prototype.encode = function encode(str) { class103 TextEncoder.prototype.toString = function() {107 Object.defineProperty(TextEncoder.prototype, 'encoding', {109 if (TextEncoder.prototype.isPrototypeOf(this))116 TextEncoder.prototype.encoding = 'utf-8';119 TextEncoder.prototype[Symbol.toStringTag] = 'TextEncoder';