是否可以掛鉤每個新的創(chuàng)建String?每次運(yùn)行這樣的代碼:const new_string = 'Hello World!';我想收到通知;例如;console.log('A new String was created:', whatever_new_string_was_created);
如何掛鉤新 String 實(shí)例的每次創(chuàng)建?
藍(lán)山帝景
2022-10-13 19:26:21