File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ const suite = new benchmark.Suite()
5
5
6
6
const STR_LEN = 1e4
7
7
const LARGE_ARRAY_SIZE = 2e4
8
- const MULTI_ARRAY_LENGHT = 1e3
8
+ const MULTI_ARRAY_LENGTH = 1e3
9
9
10
10
const schema = {
11
11
title : 'Example Schema' ,
@@ -93,7 +93,7 @@ const obj = {
93
93
94
94
const date = new Date ( )
95
95
96
- const multiArray = new Array ( MULTI_ARRAY_LENGHT )
96
+ const multiArray = new Array ( MULTI_ARRAY_LENGTH )
97
97
const largeArray = new Array ( LARGE_ARRAY_SIZE )
98
98
99
99
const CJS = require ( 'compile-json-stringify' )
@@ -158,7 +158,7 @@ for (let i = STR_LEN; i < LARGE_ARRAY_SIZE; ++i) {
158
158
159
159
Number ( str )
160
160
161
- for ( let i = 0 ; i < MULTI_ARRAY_LENGHT ; i ++ ) {
161
+ for ( let i = 0 ; i < MULTI_ARRAY_LENGTH ; i ++ ) {
162
162
multiArray [ i ] = obj
163
163
}
164
164
You can’t perform that action at this time.
0 commit comments