Logo
Explore Help
Sign In
cerxes/babel
3
0
Fork 0
You've already forked babel
Code Issues Pull Requests Releases Wiki Activity
babel/packages/babel-plugin-transform-spread/test/fixtures/spread
History
Anatoli Papirovski aefbb1380e No unneeded empty arrays in transform spread (#6763)
* No unneeded empty arrays in transform spread

Since Array.prototype.concat creates a new array from inputs, there's
no need to call it from a new empty array ([].concat()).

* [fixup] simplify detection of new array
2017-11-09 14:51:56 -05:00
..
arguments
…
arguments-array
…
arguments-concat
…
array-literal-first
…
array-literal-middle
…
array-literal-multiple
…
array-literal-with-hole
…
array-literals
…
contexted-computed-method-call-multiple-args
…
contexted-computed-method-call-single-arg
…
contexted-method-call-multiple-args
…
contexted-method-call-single-arg
…
contexted-method-call-super-multiple-args
…
contexted-method-call-super-single-arg
…
known-rest
…
method-call-array-literal
…
method-call-first
…
method-call-middle
…
method-call-multiple
…
method-call-multiple-args
…
method-call-single-arg
…
new-expression
…
single
…
this-context
…
options.json
…
Powered by Gitea Version: 1.23.5 Page: 1401ms Template: 66ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API