Replies: 1 comment
-
Yes, and that imported functions can be exported as well. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
on page 117 in the documentation v2.0 the formulations
Abbreviations
Multiple anonymous locals may be combined into a single declaration:
Functions can be defined as imports or exports inline:
Note: The latter abbreviation can be applied repeatedly, if “. . .” contains additional export clauses. Consequently,
a function declaration can contain any number of exports, possibly followed by an import.
I'm a little confused about the 'note'. is it correctly understood that it simply means that we can export a function with multiple export names?
Beta Was this translation helpful? Give feedback.
All reactions