jdk/test/javax/script/Test8.js
author mchung
Mon, 27 Oct 2014 13:45:39 -0700
changeset 27260 8d82d0e9556b
parent 2 90ce3da70b43
permissions -rw-r--r--
8043277: Update jdk regression tests to extend the default security policy instead of override Reviewed-by: alanb, mullan, chegar, sla
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
};