From c62d169c211399491a293a0baf003112103e62d2 Mon Sep 17 00:00:00 2001 From: Rak Laptudirm <68542775+raklaptudirm@users.noreply.github.com> Date: Fri, 21 May 2021 11:57:24 +0530 Subject: [PATCH] style(IntroSort.js): let to const --- Sorts/IntroSort.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sorts/IntroSort.js b/Sorts/IntroSort.js index 887788e51..57edb4e8d 100644 --- a/Sorts/IntroSort.js +++ b/Sorts/IntroSort.js @@ -45,7 +45,7 @@ function introsort (array, compare) { * @param {Object} obj * @returns {String} String representation of given object */ - var toString = function (obj) { + const toString = function (obj) { if (obj === null) return 'null' if (typeof obj === 'boolean' || typeof obj === 'number') { return obj.toString()