Skip to content

Commit afc33ba

Browse files
committed
chore: fix JavaScript lint errors (issue #10708)
1 parent ef7e6f0 commit afc33ba

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

lib/node_modules/@stdlib/ndarray/fancy/test/test.instance.tostring.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,8 @@ tape( 'a FancyArray constructor returns an instance which has a custom `toString
175175
var arr;
176176

177177
dtype = 'generic';
178-
buffer = new Array( 1e4 );
178+
buffer = [];
179+
buffer.length = 1e4;
179180
shape = [ buffer.length ];
180181
order = 'row-major';
181182
strides = [ 1 ];

0 commit comments

Comments
 (0)