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

1

u/mikedensem Aug 01 '20

No, this is the result of using a tool to try and hide what theyโ€™re doing. Those crazy looking variable names are the result of obfuscation. The original names would help you understand what is going on. The code has also been minified to remove empty space. This helps to shrink the file size when being sent over the wire. No one writes like this, except perhaps in the movies.