mirror of
https://github.com/tc39/test262.git
synced 2025-04-08 19:35:28 +02:00
Remove incorrect property access
This commit is contained in:
parent
d4fac47d3b
commit
3d3df6ec02
@ -20,8 +20,8 @@ class SubPromise extends Promise {
|
||||
|
||||
var instance = Promise.try.call(SubPromise, function () {});
|
||||
|
||||
assert.sameValue(instance.promise.constructor, SubPromise);
|
||||
assert.sameValue(instance.promise instanceof SubPromise, true);
|
||||
assert.sameValue(instance.constructor, SubPromise);
|
||||
assert.sameValue(instance instanceof SubPromise, true);
|
||||
|
||||
assert.sameValue(callCount, 1);
|
||||
assert.sameValue(typeof executor, 'function');
|
||||
|
Loading…
x
Reference in New Issue
Block a user