FastestSmallestTextEncoderDecoder
FastestSmallestTextEncoderDecoder copied to clipboard
Worklet support
To support Worklets we have to consider globalThis
.
Basically: https://github.com/anonyco/FastestSmallestTextEncoderDecoder/blob/f04c88cf11024672e4d3e3dd59b9530b50eefbed/EncoderDecoderTogether.src.js#L453 has to be changed to:
})(typeof global == "" + void 0 ? typeof self == "" + void 0 ? typeof this == "" + void 0 ? globalThis : this : self : global);