diff options
Diffstat (limited to 'js/src/builtin/RegExp.js')
-rw-r--r-- | js/src/builtin/RegExp.js | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/js/src/builtin/RegExp.js b/js/src/builtin/RegExp.js index 1a2276594..0b849292c 100644 --- a/js/src/builtin/RegExp.js +++ b/js/src/builtin/RegExp.js @@ -3,7 +3,6 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // ES6 draft rev34 (2015/02/20) 21.2.5.3 get RegExp.prototype.flags -// Updated for ES2018 /s (dotAll) function RegExpFlagsGetter() { // Steps 1-2. var R = this; @@ -32,10 +31,6 @@ function RegExpFlagsGetter() { // Steps 16-18. if (R.sticky) result += "y"; - - // ES2018 - if (R.dotall) - result += "s"; // Step 19. return result; |