mirror of https://github.com/tc39/test262.git
Update test/built-ins/ShadowRealm/prototype/evaluate/returns-proxy-callable-object.js
Co-authored-by: Leo Balter <leonardo.balter@gmail.com>
This commit is contained in:
parent
abdc0fa441
commit
43f4453472
|
@ -22,3 +22,4 @@ new Proxy(fn, {});
|
||||||
|
|
||||||
assert.sameValue(typeof proxyCallable, 'function', 'wrapped proxy callable object is typeof function');
|
assert.sameValue(typeof proxyCallable, 'function', 'wrapped proxy callable object is typeof function');
|
||||||
assert.sameValue(proxyCallable(), 42, 'wrappedpfn() returns 42');
|
assert.sameValue(proxyCallable(), 42, 'wrappedpfn() returns 42');
|
||||||
|
assert.sameValue(proxyCallable instanceof Proxy, false, 'the wrapped function "hides" the proxy instance');
|
||||||
|
|
Loading…
Reference in New Issue