mirror of https://github.com/tc39/test262.git
WrappedFunction should accepts callable proxy
This commit is contained in:
parent
1ad9bb7626
commit
541715762c
|
@ -21,3 +21,4 @@ assert.sameValue(typeof r.evaluate('(async function() {})'), 'function', 'async
|
|||
assert.sameValue(typeof r.evaluate('(function*() {})'), 'function', 'generator expression');
|
||||
assert.sameValue(typeof r.evaluate('(async function*() {})'), 'function', 'async generator expression');
|
||||
assert.sameValue(typeof r.evaluate('() => {}'), 'function', 'arrow function');
|
||||
assert.sameValue(typeof r.evaluate('new Proxy(() => {}, { apply() {} })'), 'function', 'callable proxy');
|
||||
|
|
Loading…
Reference in New Issue