jdk/test/javax/script/Test8.js
author chegar
Thu, 13 Dec 2012 14:47:35 +0000
changeset 14786 a9f61e0cbe61
parent 2 90ce3da70b43
permissions -rw-r--r--
8003890: corelibs test scripts should pass TESTVMOPTS Reviewed-by: chegar, alanb Contributed-by: Mark Sheppard <mark.sheppard@oracle.com>
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     1
function main(name) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
     2
    print(name);
90ce3da70b43 Initial load
duke
parents:
diff changeset
     3
}
90ce3da70b43 Initial load
duke
parents:
diff changeset
     4
90ce3da70b43 Initial load
duke
parents:
diff changeset
     5
var scriptObj = {
90ce3da70b43 Initial load
duke
parents:
diff changeset
     6
    main: function(name) { print(name); }
90ce3da70b43 Initial load
duke
parents:
diff changeset
     7
};