Р
https://codepen.io/ilienkors/pen/KKNxmqP
Size: a a a
Р
V
> 17 ** 33 > Number.MAX_SAFE_INTEGER
true
> BigInt(17) ** BigInt(33) % BigInt(55)
7n
Р
> 17 ** 33 > Number.MAX_SAFE_INTEGER
true
> BigInt(17) ** BigInt(33) % BigInt(55)
7n
DD
Р
Y
KN
KN
KN
Y
KN
V
KN
V
KN
DK
process.on( 'SIGTERM', () => {
server.gracefulSutdown( 'Shutdown due to SIGTERM signal.' )
} )
const logger = require( './helpers/logger' )
const routers = require( './routes/index.js' )
const config = require( './config/config' )
const Server = require( './helpers/serverExpress.js' )
const start = () => {
const server = new Server()
try {
server.setRoutes( routers )
server.start( config.PORT )
logger.info( `Server listening on port ${ config.PORT }!` )
process.on( 'SIGTERM', () => {
server.gracefulSutdown( 'Shutdown due to SIGTERM signal.' )
} )
} catch( error ) {
logger.fatal( error )
server.gracefulSutdown( 'Shutdown due to unhandled exception.' )
}
}
start()
/
ES
/
ES