source:
Dev/trunk/src/client/util/shrinksafe/tests/3241.js
Last change on this file was 483, checked in by hendrikvanantwerpen, 11 years ago | |
---|---|
File size: 236 bytes |
Rev | Line | |
---|---|---|
[483] | 1 | result = ""; |
2 | ||
3 | (function() { | |
4 | function MyClass(){ | |
5 | this.foo = function(argument1, argument2){ | |
6 | var mytest = test; | |
7 | return mytest; | |
8 | } | |
9 | this.bar = function(){} | |
10 | } | |
11 | var test = "data"; | |
12 | ||
13 | result = new MyClass().foo(); | |
14 | })(); |
Note: See TracBrowser
for help on using the repository browser.