From e9d65a61c8935154cf5f475ebc19b54ec8e6e66d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ricardo=20Fern=C3=A1ndez=20Serrata?=
 <76864299+Rudxain@users.noreply.github.com>
Date: Sun, 10 Sep 2023 02:33:01 -0400
Subject: [PATCH] const temp

---
 src/bubble.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bubble.js b/src/bubble.js
index c1be395..8a9ad02 100644
--- a/src/bubble.js
+++ b/src/bubble.js
@@ -2,7 +2,7 @@ export function bubbleSort(arr) {
   for (let i = 0; i < arr.length; i++) {
     for (let j = 0; j < arr.length - i - 1; j++) {
       if (arr[j] > arr[j + 1]) {
-        let temp = arr[j];
+        const temp = arr[j];
         arr[j] = arr[j + 1];
         arr[j + 1] = temp;
       }