Skip to content

Commit 3cdc9a7

Browse files
authored
chore: fix JavaScript lint errors
PR-URL: #10710 Closes: #10708 Reviewed-by: Athan Reines <kgryte@gmail.com>
1 parent 53641f6 commit 3cdc9a7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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)