From 713568f62cc45bac47b28712ce384aba06fc7c52 Mon Sep 17 00:00:00 2001 From: Martin Ghazaryan Date: Tue, 16 May 2023 18:49:29 +0400 Subject: [PATCH] fix test example --- test-insertbatch.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test-insertbatch.js b/test-insertbatch.js index 2bc25bc..714db3b 100644 --- a/test-insertbatch.js +++ b/test-insertbatch.js @@ -7,9 +7,9 @@ const batchsize = 50; export default () => { - var docobjs = [] + let docobjs = [] - for (var i = 0; i < batchsize; i++) { + for (let i = 0; i < batchsize; i++) { docobjs.push(getRecord()); }