Why does JS minification convert 1000 to 1E3?

The whole point of minification is to be able to pass less data over the network but retain the same functionality.

Taken from wikipedia:

Minification (also minimisation or minimization), in computer programming languages and especially JavaScript, is the process of removing all unnecessary characters from source code without changing its functionality. These unnecessary characters usually include white space characters, new line characters, comments, and sometimes block delimiters, which are used to add readability to the code but are not required for it to execute.

As long as the size is smaller the minification is doing its job.

1E3 pretty much means 10 to the power of 3; a shorter way of representing the number 1000.


they are the same value, 1E3 is 10 to the third power, or 1000, so the point it so save 25%