Found this beauty in one of my old projects from school
Found this beauty in one of my old projects from school
![](https://lemmy.world/pictrs/image/86355385-bd8f-4af7-9e6c-f6702801ec6b.png?format=webp&thumbnail=128)
![](https://lemmy.world/pictrs/image/86355385-bd8f-4af7-9e6c-f6702801ec6b.png?format=webp)
Found this beauty in one of my old projects from school
You're viewing a single thread.
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.
js
Game.onload = (data)=>{ let a = data; a = JSON.decode(a)["GameData"]; a = btoa(a); a = JSON.decode(a)["GameData"]; return a; }