Files
test-repo/tests/jsx_spread/attribute.js
T
Lucas Duailibe 8249b1c841 Add support for JSXSpreadChild and fix comments inside JSXSpread (#3163)
* Add support for JSXSpreadChild and fix comments inside JSXSpread

* Dangling comments

* Use another approach
2017-11-07 14:23:10 +11:00

22 lines
202 B
JavaScript

<div {...a}/>;
<div {...a /* comment */}/>;
<div {/* comment */...a}/>;
<div {...a //comment
}/>;
<div {...a
//comment
}/>;
<div {
//comment
...a
}/>;
<div {//comment
...a // comment
}/>;