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