Skip to content

Commit 5eeaeb7

Browse files
authored
chore: fix typo LENGHT -> LENGTH (#432)
1 parent db4b251 commit 5eeaeb7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

benchmark/bench-cmp-lib.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const suite = new benchmark.Suite()
55

66
const STR_LEN = 1e4
77
const LARGE_ARRAY_SIZE = 2e4
8-
const MULTI_ARRAY_LENGHT = 1e3
8+
const MULTI_ARRAY_LENGTH = 1e3
99

1010
const schema = {
1111
title: 'Example Schema',
@@ -93,7 +93,7 @@ const obj = {
9393

9494
const date = new Date()
9595

96-
const multiArray = new Array(MULTI_ARRAY_LENGHT)
96+
const multiArray = new Array(MULTI_ARRAY_LENGTH)
9797
const largeArray = new Array(LARGE_ARRAY_SIZE)
9898

9999
const CJS = require('compile-json-stringify')
@@ -158,7 +158,7 @@ for (let i = STR_LEN; i < LARGE_ARRAY_SIZE; ++i) {
158158

159159
Number(str)
160160

161-
for (let i = 0; i < MULTI_ARRAY_LENGHT; i++) {
161+
for (let i = 0; i < MULTI_ARRAY_LENGTH; i++) {
162162
multiArray[i] = obj
163163
}
164164

0 commit comments

Comments
 (0)