summaryrefslogtreecommitdiff
path: root/shell/js.js
diff options
context:
space:
mode:
authorAlmightyMiau <almightymeow612@gmail.com>2024-11-13 10:56:53 -0800
committerAlmightyMiau <almightymeow612@gmail.com>2024-11-13 10:56:53 -0800
commit40843e35434d56e883655e4377994ac76746b184 (patch)
tree786c3acc109b4add11c88ca58a534fd19d4e77cb /shell/js.js
parent1ca00b3b73a9699e41f81e154cea32934c16de03 (diff)
Organized scripts into folders
Diffstat (limited to 'shell/js.js')
-rw-r--r--shell/js.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/shell/js.js b/shell/js.js
new file mode 100644
index 0000000..3755121
--- /dev/null
+++ b/shell/js.js
@@ -0,0 +1,4 @@
+/** @param {NS} ns */
+export async function main(ns) {
+ ns.tprint(await eval(ns.args[0]));
+} \ No newline at end of file