Skip to content

Commit 13c64db

Browse files
committed
Document js opcode
1 parent a89103f commit 13c64db

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docs/ops.markdown

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -332,6 +332,7 @@ For generating an abstract tree that includes opcodes, see [docs/qast.markdown](
332332
* [backendconfig](#backendconfig)
333333
* [getpid](#getpid)
334334
* [getppid](#getppid)
335+
* [js](#js)
335336
* [jvmclasspaths `jvm`](#jvmclasspaths-jvm)
336337
* [jvmgetproperties `jvm`](#jvmgetproperties-jvm)
337338
* [setcodename](#setcodename)
@@ -2832,6 +2833,13 @@ Return the current process id, an int.
28322833

28332834
Return the process id of the parent process, an int.
28342835

2836+
## js `moar` `js`
2837+
* `js(str)`
2838+
2839+
Execute the string of JavaScript code passed in.
2840+
2841+
While this opcode exists in moar, it throws an exception declaring it is not implemented.
2842+
28352843
## jvmclasspaths `jvm`
28362844
* `jvmclasspaths(--> Mu)`
28372845

0 commit comments

Comments
 (0)