jdk/test/javax/script/Test4.js
author xdono
Thu, 30 Apr 2009 15:04:39 -0700
changeset 2691 bad7bbf42755
parent 2 90ce3da70b43
permissions -rw-r--r--
Added tag jdk7-b57 for changeset 93833fce07e3
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     1
function run() {
90ce3da70b43 Initial load
duke
parents:
diff changeset
     2
    print("global run method");
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 intfObj = {
90ce3da70b43 Initial load
duke
parents:
diff changeset
     6
    run: function() { print("object run method"); }
90ce3da70b43 Initial load
duke
parents:
diff changeset
     7
};