summaryrefslogtreecommitdiffstats
path: root/scratch.js
diff options
context:
space:
mode:
Diffstat (limited to 'scratch.js')
-rw-r--r--scratch.js27
1 files changed, 26 insertions, 1 deletions
diff --git a/scratch.js b/scratch.js
index ac96b46..1f47ce8 100644
--- a/scratch.js
+++ b/scratch.js
@@ -1,2 +1,27 @@
// to run currently open .js file in VSCode, hit 'Run->Run Without Debugging' (Ctrl+F5)
-// Node.js needs to be installed, .js file needs to be opened from folder \ No newline at end of file
+// Node.js needs to be installed, .js file needs to be opened from folder
+
+/*
+{
+ "version": "2.0.0",
+ "tasks": [
+ {
+ "label": "Show in console",
+ "type": "shell",
+ "command": "node ${file}",
+ "group": {
+ "kind": "build",
+ "isDefault": true
+ },
+ "presentation": {
+ "reveal": "always",
+ "clear": true,
+ "echo": false,
+ "showReuseMessage": false
+ }
+ }
+ ]
+ }
+*/
+
+console.log("hello, world!")