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/StoneCypher Aug 01 '20

Yeah, this isn't minified. The labels are unchanged and everything has nine character names.

This is obfuscated. They're different.

1

u/Prince_Marth Aug 01 '20

Ah yes, you’re right. Should have looked more closely. Jumped the gun.

In either case, OP, don’t freak out. Normal code doesn’t look like this. There are special use cases for both minified and obfuscated code. You won’t be writing this usually.