Skip to content
This repository has been archived by the owner on Nov 20, 2019. It is now read-only.

Consider using es-abstract #11

Open
ljharb opened this issue Oct 2, 2019 · 0 comments
Open

Consider using es-abstract #11

ljharb opened this issue Oct 2, 2019 · 0 comments

Comments

@ljharb
Copy link

ljharb commented Oct 2, 2019

Hi!

I've built a library, es-abstract. I use it in all my polyfills/shims so that the implementations can match the spec text as exactly as possible.

If you used it in the Temporal polyfill, then you'd be able to largely implement it in exact terms of the spec text. This has exposed spec bugs in proposals in the past.

For abstract operations that this proposal changes or adds, you'd want to implement them locally for the time being, but in a way where they can be seamlessly switched out for an es-abstract implementation once the proposal lands in the spec.

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

No branches or pull requests

1 participant