comparison pydershell/test.js @ 17:1d62177c5c27

Added a safe js object wrapper.
author Atul Varma <varmaa@toolness.com>
date Mon, 07 Sep 2009 04:23:09 -0700
parents fb25af17bae6
children 1950b0b5bcd8
comparison
equal deleted inserted replaced
16:a78570a423ea 17:1d62177c5c27
8 print('exception is ' + e); 8 print('exception is ' + e);
9 throw e; 9 throw e;
10 } 10 }
11 } 11 }
12 12
13 foo(blah); 13 //foo(blah);
14
15 bar({blarg: "aweg", bar: function() { return this.blarg; }});