ramblings/oxygen/js-require/hello.js

7 lines
159 B
JavaScript

require('hello.js');
require('./commons.js');
require('subdir/child.js');
hello = function (){
Packages.java.lang.System.out.println("Hello world.");
}