summaryrefslogtreecommitdiffstats
path: root/tags/java-stable-20060304/sca/container.js/src/test/resources/org/apache/tuscany/container/js/rhino/RhinoInvokerTestCase.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;
}