Open Bleb1k opened 3 hours ago
I suggest fixing formatting, as it is have many benefits both to code readability, and ease of reading and understanding the flow of the code
https://blog.pixelfreestudio.com/the-importance-of-consistent-code-formatting/
function stepthree2() { if (infunlock == 1) { if (upgstage == 2) { if (points >= 0) { points = points - 100 - upgpriceboost; stepthreemult = stepthreemult + upgbonusvar; console.log("purchased stepthree();") upgpriceboost = upgpriceboost + 1; } else { console.log("ERROR CODE 85BB65"); } } else { console.log("Lol you leveled up too much krill issue.") } } else { console.log("You have not unlocked infinite upgrades."); } }
I suggest fixing formatting, as it is have many benefits both to code readability, and ease of reading and understanding the flow of the code
https://blog.pixelfreestudio.com/the-importance-of-consistent-code-formatting/
Example