Get the latest tech news
OpenAI is good at unminifying code
I was curious about how a component was implemented in a minified JavaScript file and used ChatGPT to reverse engineer the component.
It deals with generating some dynamic text content, presumably ASCII art or some kind of visual effect using characters from a predefined set. This part of the code imports some common Math functions ( floor, abs, and min) and defines two sets of characters, stored in O5. It calculates the number of columns ( s) and rows ( o) based on the window size and then fills the div with characters generated by the eT function.
Or read this on Hacker News