Skip to content

IE Syntax error on minified code evaluation #8980

Description

@attatrol

Bug Report

Current Behavior
IE 11.0.14393.0 returns error Syntax error in regular exception when i try to copy the minified code in its console.

Input Code
REPL link

var regexpUnicodeSupport;
function test() { 
try { new RegExp("\uffff", "u"); regexpUnicodeSupport = true; }
  catch(e) {}
}

Expected behavior/code
Successful evaluation.

Babel Configuration
default minify preset used by REPL

Environment
REPL

Metadata

Metadata

Assignees

No one assigned

    Labels

    outdatedA closed issue/PR that is archived due to age. Recommended to make a new issue

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions