Update test/built-ins/Promise/withResolvers/result.js

Co-authored-by: Jordan Harband <ljharb@gmail.com>
This commit is contained in:
Peter Klecha 2023-07-18 10:18:42 -04:00 committed by Philip Chimento
parent a2fb545892
commit 15e0933cb5
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ var instance = Promise.withResolvers();
assert.sameValue(typeof instance, "object");
assert.notSameValue(instance, null);
assert(instance intanceof Object);
assert(instance instanceof Object);
assert(Object.hasOwn(instance, "promise"));
assert(Object.hasOwn(instance, "resolve"));
assert(Object.hasOwn(instance, "reject"));