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:
@@ -6,7 +6,7 @@
|
||||
* `'us-ft'`.
|
||||
* @enum {string}
|
||||
*/
|
||||
var Units = {
|
||||
const Units = {
|
||||
DEGREES: 'degrees',
|
||||
FEET: 'ft',
|
||||
METERS: 'm',
|
||||
|
||||
Reference in New Issue
Block a user