Javascript minification and obfuscation changed numbers in code -
i ran code through online js minified/obfuscator , changed numbers in code short of shorthand format. example 30000 became 3e4 , 15000 became 15e3, e replaces 0 , following number amount of zeros? has occurred , fine keep numbers in format within code, example:
settimeout(function () {myfunction();}, 3e4);
maybe stupid question i'd learn happened, thanks.
it's scientific notation. it's part of basic syntax of language.
numeric literals (that is, numeric constants in code) can expressed exponent part, implicitly indicates power of 10 first part of value should multiplied. minifier takes advantage of more compact source notation when possible.
the same sort of notation common among many programming languages.
Comments
Post a Comment