mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-05-11 20:21:03 +00:00
Updated Functions (markdown)
parent
0b73c51fd6
commit
bfd4d4b31e
|
@ -19,6 +19,9 @@ function main(args) {
|
|||
}
|
||||
|
||||
exports.main = main;
|
||||
|
||||
// You must explicitly specify where to find the function.
|
||||
AsyncFunction._filename = "program.js";
|
||||
```
|
||||
|
||||
#### In the console
|
||||
|
@ -50,6 +53,9 @@ function main(args) {
|
|||
exports.main = main;
|
||||
exports.onShoutcut = onShoutcut;
|
||||
exports.sub_01 = sub_01;
|
||||
|
||||
// You must explicitly specify where to find the function.
|
||||
AsyncFunction._filename = "program.js";
|
||||
```
|
||||
|
||||
## GeneratorFunction
|
||||
|
|
Loading…
Reference in New Issue
Block a user