From bfd4d4b31eef66694d450851fa505361e81beac9 Mon Sep 17 00:00:00 2001 From: "Namhyeon, Go" Date: Wed, 7 Aug 2024 14:17:18 +0900 Subject: [PATCH] Updated Functions (markdown) --- Functions.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Functions.md b/Functions.md index 99cdd34..9476782 100644 --- a/Functions.md +++ b/Functions.md @@ -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