Skip to content

Commit f9df99c

Browse files
authored
Merge pull request slevithan#148 from GerHobbelt/patch-comment-typo
comment typo fix
2 parents bb4c55c + 8c8d44d commit f9df99c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/xregexp.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ var hasFlagsProp = /x/.flags !== undefined;
6060
var toString = {}.toString;
6161

6262
function hasNativeFlag(flag) {
63-
// Can't check based on the presense of properties/getters since browsers might support such
63+
// Can't check based on the presence of properties/getters since browsers might support such
6464
// properties even when they don't support the corresponding flag in regex construction (tested
6565
// in Chrome 48, where `'unicode' in /x/` is true but trying to construct a regex with flag `u`
6666
// throws an error)

0 commit comments

Comments
 (0)