jdk/test/javax/script/Test8.js
author alanb
Mon, 18 Oct 2010 10:29:59 +0100
changeset 6902 3352f8839320
parent 2 90ce3da70b43
permissions -rw-r--r--
4837564: (bf) Please make DirectByteBuffer performance enhancements Reviewed-by: chegar
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
};