const HOST = { port:22 } Host.port = 33; console.log( Host ) //{ port: 33}; const HOST1 = { port:80 } Object.freeze(HOST1); HOST1.port = 90; console.log(HOST1) //{ port:80};
const HOST = { port:22 } Host.port = 33; console.log( Host ) //{ port: 33}; const HOST1 = { port:80 } Object.freeze(HOST1); HOST1.port = 90; console.log(HOST1) //{ port:80};