something like this:
const object = {
value: 'value',
label: 'label'
}
object === 'value' // true, accessing it directly returns 'value'
object.label === 'label' // true
object.value === 'value' // true
Simply rewriting object.toString
doesn't meet my needs; I want it to function universally, not just in console.log
.