diff --git a/promise.go b/promise.go index f056bfd9..8e9252aa 100644 --- a/promise.go +++ b/promise.go @@ -33,7 +33,7 @@ type Promise struct { *Object } -// MewPromiseResolver creates a new Promise resolver for the given context. +// NewPromiseResolver creates a new Promise resolver for the given context. // The associated Promise will be in a Pending state. func NewPromiseResolver(ctx *Context) (*PromiseResolver, error) { if ctx == nil {