Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Thorrez
5 months ago
|
parent
|
context
|
favorite
| on:
OpenAI is good at unminifying code
Can it guarantee 1-1? Doesn't Javascript allow looking up fields using a string name? That string could be computed in a complex manner.
j4k0xb
5 months ago
[–]
It does in fact change the structure, but only safe-ish AST transformations related to minifiers (e.g. `void 0` to `undefined`): -
https://github.com/jehna/humanify/blob/eeff3f8b4f76d40adb116...
-
https://webcrack.netlify.app/docs/concepts/unminify.html
properties and strings aren't renamed
Consider applying for YC's Spring batch! Applications are open till Feb 11.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: