What I’m trying to say is that the asset pipeline uses a JavaScript minifier written in php which supports only a very old JavaScript version.
I don’t expect it to get updated any time soon so anything that uses a bit newer version will not work properly.
In a nutshell: asset pipeline is old and broken and (very likely) nothing will fix that. Don’t use it.