trying to get an object's name to create a template literal that references said object. Gets [object Object] instead of theObject.
const theObject = {
prop1: "sth",
prop2: "sthesee"
}
function theFun(theArg) {
console.log(`${theArg}`);//logs [object Object]
}
theFun(theObject);