Skip to content

bdwain/uglify-bug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Demo of bug in uglify reduce_vars option

Index.js contains the source of babel-polyfill. The build minfies it with the reduce_vars option enabled. This causes a bug in chrome 51 (no other versions seem to be affected).

in the console:

expected output:

let str = 'fooBar'
str.split(/(?=[A-Z])/)

> ["foo", "Bar"]

actual output:

let str = 'fooBar'
str.split(/(?=[A-Z])/)

> ["fooBar"]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published