Was the AI playing codegolf? I'm used to AI writing needlessly verbose code and confusing itself with its own comments. This is the polar opposite, but equally horrifying.
Is it a strategy to fit more code into its context window?
https://github.com/manicinc/logomaker/blob/master/js/fontMan...
It's rather impressive because the result works.