Use const where possible

This commit is contained in:
Dennis Eichhorn 2017-01-02 18:35:48 +01:00
parent 577230348a
commit 78cfc2a7c9

View File

@ -37,7 +37,7 @@
*/ */
jsOMS.Asset.AssetManager.prototype.registerLoadedAssets = function () jsOMS.Asset.AssetManager.prototype.registerLoadedAssets = function ()
{ {
let scripts = document.getElementsByTagName('script'), const scripts = document.getElementsByTagName('script'),
length = scripts.length; length = scripts.length;
for (let i = 0; i < length; i++) { for (let i = 0; i < length; i++) {