Use blocked scoped variables
In addition to using const and let, this also upgrades our linter config and removes lint (mostly whitespace).
This commit is contained in:
+1
-1
@@ -12,7 +12,7 @@
|
||||
* @param {number} maxY Maximum Y.
|
||||
* @struct
|
||||
*/
|
||||
var TileRange = function(minX, maxX, minY, maxY) {
|
||||
const TileRange = function(minX, maxX, minY, maxY) {
|
||||
|
||||
/**
|
||||
* @type {number}
|
||||
|
||||
Reference in New Issue
Block a user