4 ms·
If you are in a module context, you could add "export" in front of the whole thing.
by Technetium_Hat 8y ago
If you are in a module context, you could add "export" in front of the whole thing.
- chrismorgan 8y agoThe count is from `return` on; the `async function* foo() {` part is excluded due to the `* foo() {`. Thus `export` isn’t applicable.