|
@ -38,12 +38,12 @@ function test(this_value, args, no_pre_post) { |
|
|
} |
|
|
} |
|
|
t = Array.prototype.splice.apply(this_value, args); |
|
|
t = Array.prototype.splice.apply(this_value, args); |
|
|
print('res', dumpValue(t)); |
|
|
print('res', dumpValue(t)); |
|
|
if (!no_pre_post) { |
|
|
|
|
|
print('post', dumpValue(this_value)); |
|
|
|
|
|
} |
|
|
|
|
|
} catch (e) { |
|
|
} catch (e) { |
|
|
print(e.name); |
|
|
print(e.name); |
|
|
} |
|
|
} |
|
|
|
|
|
if (!no_pre_post) { |
|
|
|
|
|
print('post', dumpValue(this_value)); |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
/*=== |
|
|
/*=== |
|
@ -5457,8 +5457,10 @@ try { |
|
|
coercion |
|
|
coercion |
|
|
pre undefined |
|
|
pre undefined |
|
|
TypeError |
|
|
TypeError |
|
|
|
|
|
post undefined |
|
|
pre null |
|
|
pre null |
|
|
TypeError |
|
|
TypeError |
|
|
|
|
|
post null |
|
|
pre boolean undefined |
|
|
pre boolean undefined |
|
|
res object 0 |
|
|
res object 0 |
|
|
post boolean undefined |
|
|
post boolean undefined |
|
|