diff options
3 files changed, 3 insertions, 3 deletions
diff --git a/test/suite/ch15/15.5/15.5.4/15.5.4.13/S15.5.4.13_A3_T3.js b/test/suite/ch15/15.5/15.5.4/15.5.4.13/S15.5.4.13_A3_T3.js index a21c069d3..27003ec74 100644 --- a/test/suite/ch15/15.5/15.5.4/15.5.4.13/S15.5.4.13_A3_T3.js +++ b/test/suite/ch15/15.5/15.5.4/15.5.4.13/S15.5.4.13_A3_T3.js @@ -8,7 +8,7 @@ * @description Apply String.prototype.slice to Object instance, and call instance.slice(...).slice(...) */ -var __instance = function(){}; +var __instance = { toString: function() { return "function(){}";} }; __instance.slice = String.prototype.slice; diff --git a/test/suite/ch15/15.5/15.5.4/15.5.4.14/S15.5.4.14_A3_T3.js b/test/suite/ch15/15.5/15.5.4/15.5.4.14/S15.5.4.14_A3_T3.js index 0cc1b725f..51bcf1575 100644 --- a/test/suite/ch15/15.5/15.5.4/15.5.4.14/S15.5.4.14_A3_T3.js +++ b/test/suite/ch15/15.5/15.5.4/15.5.4.14/S15.5.4.14_A3_T3.js @@ -10,7 +10,7 @@ * @description Instance is function(){} */ -var __instance = function(){}; +var __instance = { toString: function() { return "function(){}";} }; __instance.split = String.prototype.split; diff --git a/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A3_T7.js b/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A3_T7.js index dfbdeacb9..2c91e0230 100644 --- a/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A3_T7.js +++ b/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A3_T7.js @@ -9,7 +9,7 @@ * @description Apply String.prototype.substring to Object instance. Call instance.substring(...).substring(...) */ -var __instance = function(){}; +var __instance = { toString: function() { return "function(){}";} }; __instance.substring = String.prototype.substring; |