jdk/test/javax/script/Test8.js
author ohair
Mon, 04 Jan 2010 15:45:30 -0800
changeset 4660 913e357c2e08
parent 2 90ce3da70b43
permissions -rw-r--r--
6911112: Tests do not work with CYGWIN: javax/imageio/, javax/script/, and sun/misc/ Reviewed-by: tbell, alanb
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
};