Skip to content
This repository has been archived by the owner on Apr 19, 2023. It is now read-only.

Latest commit

 

History

History
22 lines (18 loc) · 518 Bytes

README.md

File metadata and controls

22 lines (18 loc) · 518 Bytes

IE11, [email protected], String#split() unexpected behavior

Repro steps for (zloirock/core-js#751) IE version: 11.657.18362.0

Description

String#split() returns incorrect output in IE11 if imported and loaded twice on a page

Expected

"test".split(/^|\s+/); //["test"]

Actual

"test".split(/^|\s+/); //["t","e","s","t"]

How to reproduce

  1. Clone this repository
  2. Install packages (ex. yarn install)
  3. Build (ex. yarn build)
  4. Open index.html in IE