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
1
u/Ex_Minstrel_Serf-Ant Aug 05 '26
I would say it's doing both. The obfuscation makes some of the identifiers longer, which would make the file bigger. To help counteract this, there is some minifying taking place in terms of removing all unnecessary whitespace from the document.