summaryrefslogtreecommitdiff
path: root/doc/node.1
diff options
context:
space:
mode:
Diffstat (limited to 'doc/node.1')
-rw-r--r--doc/node.19
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/node.1 b/doc/node.1
index c962b89d12..5edc3a32f3 100644
--- a/doc/node.1
+++ b/doc/node.1
@@ -50,6 +50,15 @@ node\.cwd()
Returns the current working directory of the process\.
.RE
.PP
+node\.compile(source, scriptOrigin)
+.RS 4
+Just like
+eval()
+except that you can specify a
+scriptOrigin
+for better error reporting\.
+.RE
+.PP
__filename
.RS 4
The filename of the script being executed\.