Re: [encoding] Fix #18: remove UTF-16 support from TextEncoder (#36)

I really prefer not to have arguments that are not used for anything but for checking their value. That is a pattern that appears nowhere else on the platform. Instead, a simple comment in the source saying that we can't add a first argument to the constructor seems better.

---
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/pull/36#issuecomment-196926724

Received on Tuesday, 15 March 2016 17:08:56 UTC