60
you are viewing a single comment's thread
view the rest of the comments
[-] HelloHotel@lemmy.world 1 points 1 year ago* (last edited 1 year ago)

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;
}
this post was submitted on 15 Nov 2024
60 points (95.5% liked)

Programming Horror

2301 readers
34 users here now

Welcome to Programming Horror!

This is a place to share strange or terrible code you come across.

For more general memes about programming there's also Programmer Humor.

Looking for mods. If youre interested in moderating the community feel free to dm @Ategon@programming.dev

Rules

Credits

founded 2 years ago
MODERATORS