Skip to content
This repository was archived by the owner on Jan 25, 2022. It is now read-only.

Conversation

michaelficarra
Copy link
Member

Fixes #19. Implementors have made it clear that they do not plan to implement Function.prototype.toString line terminator normalisation due to either performance costs or extreme difficulty in preserving performance. Line terminator normalisation is a feature of Function.prototype.toString that never existed in reality. It was added mostly for consistency with templates and to avoid accidentally observing file encodings. But we are not trying to design a nice API. We are trying to document a legacy feature of JavaScript that would be more appropriate in Annex B. Because of this, we will make it easy for implementors to follow the spec with as few changes to their implementation as possible. The goal of this proposal is to simply further specify the Function.prototype.toString behaviour and align implementations where they deviate from each other.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant