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:
Rick Waldron 2021-09-22 12:42:24 -04:00 committed by GitHub
parent abdc0fa441
commit 43f4453472
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -22,3 +22,4 @@ new Proxy(fn, {});
assert.sameValue(typeof proxyCallable, 'function', 'wrapped proxy callable object is typeof function');
assert.sameValue(proxyCallable(), 42, 'wrappedpfn() returns 42');
assert.sameValue(proxyCallable instanceof Proxy, false, 'the wrapped function "hides" the proxy instance');