This repository has been archived by the owner on Nov 4, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 147
Instantiation of HoistableDeclarations prior to Evaluation #42
Labels
Comments
Thanks @bmeck! Can you explain what the current behavior is and what the expected result is? |
the strictEqual should pass. |
Just to clarify Pulling in @benjamn on this since I believe it would be interesting for Reify too. |
@jdalton yes, both are exporting prior to evaluating |
Cleaning up the issue a bit to remove off topic non- |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
All HoistableDeclarations are instantiated and available at the time of hooking up bindings:
https://tc39.github.io/ecma262/#sec-moduledeclarationenvironmentsetup (towards the end you can see the list of things that gets hoisted prior to eval)
The hoistable declarations can also be part of a special form of
export default
.The text was updated successfully, but these errors were encountered: