changed var to let

This commit is contained in:
Lauchmelder 2021-11-27 03:23:39 +01:00
parent ff9e140f1e
commit 191cc6af59

View file

@ -1,7 +1,7 @@
function loadScript(filepath: string): string
{
var result = null;
var xmlhttp = new XMLHttpRequest();
let result = null;
let xmlhttp = new XMLHttpRequest();
xmlhttp.open("GET", filepath, false);
xmlhttp.send();
if (xmlhttp.status==200) {