Use const to define module

This commit is contained in:
Rob Garrison 2017-12-23 19:42:27 -06:00
parent d38c3c662e
commit ccb4dc0832

View File

@ -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),