자료 원본 링크 : It’s 2022, Please Don’t Just Use “console.log” Anymore
const name = 'sinri';
const age = 20;
const company = 'tmaxos';
console.log({name, age, company});
warn
error
이용하기error
의 경우 함수 콜스택도 보여주기 때문에 디버깅에 용이
table
이용하기const arrAlcohols = [
{
name: "jameson",
price: "expensive",
key: 0,
},{
name: "Tanqurey",
price: "normal",
key: 1,
},{
name: "BulletRye",
price: "expensive",
key: 2,
}
];
console.table(arrAlcohols);
짱이당