mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
* fix: babel-traverse constant flag in bindings flag bindings in loops as not constant. Fixes: #13760 * Only mark `var`s directly inside loops * Fix CI error Co-authored-by: Stephane Rufer <[email protected]>
10 lines
129 B
JavaScript
10 lines
129 B
JavaScript
function render() {
|
|
const nodes = [];
|
|
|
|
for (const node of nodes) {
|
|
nodes.push(<div>{node}</div>);
|
|
}
|
|
|
|
return nodes;
|
|
}
|