mirror of
https://github.com/tc39/test262.git
synced 2025-09-25 19:18:48 +02:00
Use assertNativeFunction to test function string output
This commit is contained in:
parent
4c6e1e788a
commit
b44d7a16ee
@ -245,7 +245,7 @@ function testBound(fun)
|
|||||||
testBound(strict);
|
testBound(strict);
|
||||||
testBound(nonstrict);
|
testBound(nonstrict);
|
||||||
|
|
||||||
assertNativeFunction((function unbound(){"body"}).bind());
|
assertNativeFunction(function unbound(){"body"}.bind());
|
||||||
|
|
||||||
/* 22. Return F. */
|
/* 22. Return F. */
|
||||||
var passim = function p(){}.bind(1);
|
var passim = function p(){}.bind(1);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user