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