diff options
Diffstat (limited to 'test/built-ins/Function/prototype/call/S15.3.4.4_A5_T3.js')
-rw-r--r-- | test/built-ins/Function/prototype/call/S15.3.4.4_A5_T3.js | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/test/built-ins/Function/prototype/call/S15.3.4.4_A5_T3.js b/test/built-ins/Function/prototype/call/S15.3.4.4_A5_T3.js index d71867222..b4d2167fd 100644 --- a/test/built-ins/Function/prototype/call/S15.3.4.4_A5_T3.js +++ b/test/built-ins/Function/prototype/call/S15.3.4.4_A5_T3.js @@ -10,9 +10,12 @@ description: thisArg is string flags: [noStrict] ---*/ -var obj="soap"; +var obj = "soap"; -var retobj = ( function(){this.touched= true; return this;} ).call(obj); +var retobj = (function() { + this.touched = true; + return this; +}).call(obj); //CHECK#1 if (typeof obj.touched !== "undefined") { |