$ npm install @putout/plugin-apply-numeric-separators
To improve readability for numeric literals, underscores (
_) can be used as separators.(c) MDN
🐊Putout plugin apply numeric separators. Merged to @putout/plugin-math.
npm i @putout/plugin-apply-numeric-separators
{
"rules": {
"apply-numeric-separators": "on"
}
}
const t = 10000000;
const t = 10_000_000;
MIT
© 2010 - cnpmjs.org x YWFE | Home | YWFE