IE11, [email protected], String#split() unexpected behavior
Repro steps for (zloirock/core-js#751) IE version: 11.657.18362.0
String#split() returns incorrect output in IE11 if imported and loaded twice on a page
"test".split(/^|\s+/); //["test"]
"test".split(/^|\s+/); //["t","e","s","t"]
- Clone this repository
- Install packages (ex.
yarn install
) - Build (ex.
yarn build
) - Open
index.html
in IE