bublejs / buble

https://buble.surge.sh
MIT License
871 stars 67 forks source link

Spread with string #166

Closed jeno5980515 closed 5 years ago

jeno5980515 commented 6 years ago

There is a problem when spread with string.

For example: [..."abcde"]

Buble will transform the format into [].concat("abcde"), so the result will be wrong. (["abcde"])

The result should be ["a", "b", "c", "d", "e"]

adrianheine commented 6 years ago

Closely related to #81.

adrianheine commented 5 years ago

Closing this in favor of #131.