L
L
lightalex2015-10-13 16:11:56
JavaScript
lightalex, 2015-10-13 16:11:56

What code will be the most informative?

Hello!
I am writing my bike - a js code compressor
I don’t know js myself very well
And therefore I ask knowledgeable people, please give an example of code where all js structures are used
Well, that is, loops, if's, functions, classes, methods, etc., etc. .d., etc.
The performance of the code is not important at all

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Mikhail Osher, 2015-10-13
@miraage

world best compressor
see what it does and how it does it.
https://github.com/mishoo/UglifyJS2

D
Denis Ineshin, 2015-10-13
@IonDen

There are no such examples. Do it yourself, take some textbook as a basis, like this: https://learn.javascript.ru/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question