From 4f85e1e70f87ed53c565c4f263dd1f61982d39c9 Mon Sep 17 00:00:00 2001 From: thienbao860 <35884937+thienbao860@users.noreply.github.com> Date: Mon, 11 Jan 2021 17:19:20 +0700 Subject: [PATCH] Updated Your First Script (markdown) --- Your-First-Script.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Your-First-Script.md b/Your-First-Script.md index 18467ea..fe23226 100644 --- a/Your-First-Script.md +++ b/Your-First-Script.md @@ -13,6 +13,7 @@ helloWorld(); ``` As you can see, the scripts return one value. + **NOTE: ** Semicolons (`;`) are not required in JS language. However, this is required with multiple statements stacked in 1 line of script ## Using Your Script @@ -25,7 +26,7 @@ Specifying script engine is optional, as it will be defaulted to 'nashorn' if no ```YAML hello_world: file: hello_world.js - engine: nashorn #optional, can be deleted + engine: nashorn # optional, can be deleted ``` Then, after reloading with JS-Expansion command (`/jsexpansion reload`) or PlaceholderAPI plugin (`/papi reload`), you can use your placeholder!