minor fix...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2022-12-04 17:02:01 +03:00
parent 5d558b35b6
commit 9b542d91f5

View File

@ -853,7 +853,7 @@ object.Constructor('SyncPromise', Promise, {
this.constructor.reject(
reject ?
reject(this.error)
: this.error) }
: this.error)
: resolve ?
this.constructor.resolve(
resolve(this.value))