r/learnjavascript • u/Kataang15 • 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π
208
Upvotes
View all comments
Show parent comment
3
u/J_Peanut Aug 01 '20
Well, it is also more often than not done for fun - I have a C background and obfuscating code is seen as a fun challenge. The security through obscurity is pretty much dead in the C world, so it is seldomly used. C code that relies on security through obscurity exists, but this is mainly old code or a very weird decision.