VS
Size: a a a
VS
ЕВ
export class MapTest {
public map = new Map<number, string>();
constructor() {
this.map.set(1, '1');
const cacheCopy = { ...this.map };
//const cacheCopy = this.map;
console.log(cacheCopy.get(1));
}
}
VS
TS
IK
A
TS
VS
IK
VS
IK
TS
IK
VS
IK
M
VS
TS
IK
VS