mirror of
https://github.com/tc39/test262.git
synced 2025-07-13 09:04:36 +02:00
This commit is contained in:
parent
e0d156d38c
commit
35af99abe1
@ -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;
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
* @description Instance is function(){}
|
||||
*/
|
||||
|
||||
var __instance = function(){};
|
||||
var __instance = { toString: function() { return "function(){}";} };
|
||||
|
||||
__instance.split = String.prototype.split;
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user