Skip to content

Commit 7f33b7b

Browse files
committedSep 9, 2016
Fix error message typo
1 parent 06f2400 commit 7f33b7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/core.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ function Promise(fn) {
5656
throw new TypeError('Promises must be constructed via new');
5757
}
5858
if (typeof fn !== 'function') {
59-
throw new TypeError('Promise contructor\'s argument not a function');
59+
throw new TypeError('Promise constructor\'s argument is not a function');
6060
}
6161
this._deferredState = 0;
6262
this._state = 0;

0 commit comments

Comments
 (0)
Please sign in to comment.