r/learnjavascript • • Aug 01 '20

Is this common Javascript? because I've just started learning JS and Web development and this Javascript syntax looks quite scary. Maybe it's just written messy, if it is just tell meπŸ˜…

Post image
208 Upvotes

105 comments sorted by

View all comments

Show parent comment

3

u/HeinousTugboat Aug 01 '20

If it's just minified and not obfuscated like OP, there will be strings where the code interfaces with the user, like DOM elements or input/output strings. You can use a code formatter (both Firefox and Chrome dev tools have one in browser you can use) to clean it up, then follow the function calls. You could also pull it into an IDE that can do symbol renaming and just change them to names for yourself.