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()); }