Skip to content

Commit c62d169

Browse files
committed
style(IntroSort.js): let to const
1 parent 8b7c5fd commit c62d169

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sorts/IntroSort.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ function introsort (array, compare) {
4545
* @param {Object} obj
4646
* @returns {String} String representation of given object
4747
*/
48-
var toString = function (obj) {
48+
const toString = function (obj) {
4949
if (obj === null) return 'null'
5050
if (typeof obj === 'boolean' || typeof obj === 'number') {
5151
return obj.toString()

0 commit comments

Comments
 (0)