We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba14f27 commit fea4b5bCopy full SHA for fea4b5b
lib/node_modules/@stdlib/plot/components/svg/symbols/lib/render/closed_circles.js
@@ -67,7 +67,7 @@ function render( state ) {
67
x = state.x;
68
y = state.y;
69
70
- out = new Array( x.length );
+ out = [];
71
for ( i = 0; i < x.length; i++ ) {
72
xi = x[ i ];
73
yi = y[ i ];
@@ -91,7 +91,7 @@ function render( state ) {
91
}
92
};
93
debug( 'Generating a virtual DOM tree (%s) with properties: %s.', ELEMENT, JSON.stringify( props ) );
94
- out[ i ] = h( ELEMENT, props, [] );
+ out.push( h( ELEMENT, props, [] ) );
95
96
return out;
97
0 commit comments