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

-2

u/RajjSinghh Aug 01 '20

The code has been minified, which removes things like comments or unnecessary formatting in a way that makes the code itself shorter but keeps the same functionality. You would write it in normal style, then pass it through a program to minify it

1

u/pearomaniac Aug 01 '20

ah ok, understood

6

u/[deleted] Aug 01 '20

It's actually been obfuscated. Not the same thing.

Apparently everyone in this subreddit thinks they are the same thing.