swc/ecmascript/jsdoc/tests/fixtures/jsx.js
2020-08-14 18:20:25 +09:00

3 lines
108 B
JavaScript

var myDivElement = <div className="foo" />;
React.render(myDivElement, document.getElementById('example'));