d27482e2fc
* Print numbers in a uniform way - Still preserve the radix (binary, octal, hexadecimal or decimal) used in the original source code. - Still preserve scientific notation. - Add 0 to fractions. `.1` -> `0.1` - Remove trailing dots from integers. `1.` -> `1` - Always print the radix letters lowercase. `0b`, `0o`, `0x` - Always print scientific notation lowercase. `1e1` - Always print hexadecimal digits uppercase. `0x123ABCDEF` - Remove unneeded plus in scientific notation. `1e+1` -> `1e1` - Remove unneeded zeroes in scientific notation. `1e-001` -> `1e-1` - Preserve leading zeroes in non-decimal radix. This can be useful when working in binary, and having both `0b111000` and `0b000111` for example. * Always print numbers lowercase * Remove trailing dot in scientific notation * Update snapshots |
||
---|---|---|
.. | ||
__snapshots__ | ||
UnicodeUtils.js | ||
jsfmt.spec.js | ||
keys.js |