📅  最后修改于: 2022-03-11 15:04:22.399000             🧑  作者: Mango
const obj = {A : 1, B : 2, C : 3, D : 4}
console.log(`object in Template literals ${JSON.stringify(obj)}`);
console.log('object in Template literals ',obj);//best practice
console.log(typeof JSON.stringify(obj)); // string (Danger)