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 efa188b commit d22507cCopy full SHA for d22507c
1 file changed
lib/node_modules/@stdlib/object/deep-set/examples/index.js
@@ -30,12 +30,12 @@ function set( val ) {
30
return val * 10.0;
31
}
32
33
-data = new Array( 100 );
34
-for ( i = 0; i < data.length; i++ ) {
35
- data[ i ] = {
+data = [];
+for ( i = 0; i < 100; i++ ) {
+ data.push({
36
'x': Date.now(),
37
'y': [ randu(), randu(), i ]
38
- };
+ });
39
40
41
keys = [ 0, 'y', 2 ];
0 commit comments