const $code = $("#code"); const $main = $("#main"); const $functions = $("#functions"); let universalId = 0; let creatingVariable = false; function addVariable(variable = {name: "", type: dataTypes.String, value: ""}, id = null) { if (creatingVariable === false) { // Blocking future variable creation until finish the current creation creatingVariable = true; let html = ""; html += `