Re: [whatwg/encoding] Add a static decode and encode method to `TextEncoder` and `TextDecoder` (#267)

We can fix Web IDL.

As for MDN's problem, they've had a big issue with bad documentation for prototype methods for a long time. They need to fix it. `TextEncoder.decode()` has always meant a static method (which hasn't existed); `TextEncoder.prototype.decode()` or `textEncoder.decode()` are how you write the instance methods.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/encoding/issues/267#issuecomment-870892075

Received on Tuesday, 29 June 2021 20:25:58 UTC