@bigboismith to Programming [email protected] • 3 months agoFound this beauty in one of my old projects from schoolimagemessage-square9arrow-up152arrow-down12
arrow-up150arrow-down1imageFound this beauty in one of my old projects from school@bigboismith to Programming [email protected] • 3 months agomessage-square9
minus-square@[email protected]linkfedilinkEnglish10•3 months agoI WILL NOT USE ANOTHER LINE. I DON’T NEED IT
minus-squareHello HotellinkEnglish1•edit-215 days agoThis is just as easy to write, just as sloppy but hopefully way easier to read. Game.onload = (data)=>{ let a = data; a = JSON.decode(a)["saveGame"][0]; a = JSON.decode(a)["SaveGame"]; return a; }
I WILL NOT USE ANOTHER LINE. I DON’T NEED IT
The best code has the fewest lines.
This is just as easy to write, just as sloppy but hopefully way easier to read.
Game.onload = (data)=>{ let a = data; a = JSON.decode(a)["saveGame"][0]; a = JSON.decode(a)["SaveGame"]; return a; }