8 lines
135 B
JavaScript
8 lines
135 B
JavaScript
|
Object.defineProperty(Number.prototype, 'n', {
|
||
|
enumerable: false,
|
||
|
configurable: false,
|
||
|
get() {
|
||
|
return BigInt(this);
|
||
|
},
|
||
|
});
|