Use const to define module
This commit is contained in:
parent
d38c3c662e
commit
ccb4dc0832
|
@ -2,7 +2,7 @@
|
|||
/* global messageBox */
|
||||
'use strict';
|
||||
|
||||
var sorter = (() => {
|
||||
const sorter = (() => {
|
||||
|
||||
const sorterType = {
|
||||
alpha: (a, b) => (a < b ? -1 : a === b ? 0 : 1),
|
||||
|
|
Loading…
Reference in New Issue
Block a user