summaryrefslogtreecommitdiffstats
path: root/tags/java-M1-20060518/java/sca/containers/container.rhino/src/test/resources/org/apache/tuscany/container/rhino/rhino/RhinoScriptTestCase.js
blob: 2de740d5f857e3a543cbb331a3bb8c4cbb99b42b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
function echo(x) {
    return x;
}

function getA(x) {
   return a;
}

function setGlobalVarY(x) {
   y = x;
}
function setLocalVarY(x) {
   var y = x;
}
function getGlobalVarY(x) {
   return y;
}

function getInt(x) {
   return 42;
}