We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bb4c55c + 8c8d44d commit f9df99cCopy full SHA for f9df99c
src/xregexp.js
@@ -60,7 +60,7 @@ var hasFlagsProp = /x/.flags !== undefined;
60
var toString = {}.toString;
61
62
function hasNativeFlag(flag) {
63
- // Can't check based on the presense of properties/getters since browsers might support such
+ // Can't check based on the presence of properties/getters since browsers might support such
64
// properties even when they don't support the corresponding flag in regex construction (tested
65
// in Chrome 48, where `'unicode' in /x/` is true but trying to construct a regex with flag `u`
66
// throws an error)
0 commit comments