From 8b67f5ae56133a14c69fa8a5ffea461e7493370c Mon Sep 17 00:00:00 2001 From: Rohit Paul <113459757+RohitPaul12345@users.noreply.github.com> Date: Wed, 2 Aug 2023 17:36:17 +0530 Subject: [PATCH] Update circular_buffer.js --- lib/circular_buffer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/circular_buffer.js b/lib/circular_buffer.js index 1830ef34..049f5996 100644 --- a/lib/circular_buffer.js +++ b/lib/circular_buffer.js @@ -1,4 +1,4 @@ -var CircularBuffer = module.exports = function(size) { +let CircularBuffer = module.exports = function(size) { this.pos = 0; this._buf = []; this.size = size;