We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8b7c5fd commit c62d169Copy full SHA for c62d169
1 file changed
Sorts/IntroSort.js
@@ -45,7 +45,7 @@ function introsort (array, compare) {
45
* @param {Object} obj
46
* @returns {String} String representation of given object
47
*/
48
- var toString = function (obj) {
+ const toString = function (obj) {
49
if (obj === null) return 'null'
50
if (typeof obj === 'boolean' || typeof obj === 'number') {
51
return obj.toString()
0 commit comments