6 lines
166 B
JavaScript
6 lines
166 B
JavaScript
var obj1;
|
|
<obj1 />; // Error, return type is not an object type
|
|
var obj2;
|
|
<obj2 />; // Error, return type is not an object type
|
|
var obj3;
|
|
<obj3 x={42}/>; // OK
|