Skip to content

Commit 594171d

Browse files
authored
Update hello.js
1 parent a5ce960 commit 594171d

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

javascript/nashorn/hello.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,14 @@ function hello()
22
{
33
/*
44
*This is a sample Javascript file that prints "Hello World".
5+
*
6+
* Before invoking it, you must load it into your database user schema
7+
* loadjava –v –r –u hr/hr hello.js
8+
* then call hello.js from SQL*Plus
9+
* SQL> @hello.sql
510
*/
611
var hellow = "Hello World";
712
return hellow;
813
}
914
var output = hello();
10-
print(output);
15+
print(output);

0 commit comments

Comments
 (0)