consola
consola copied to clipboard
refactor: remove unnecessary expression
It should be fine to reduce logObj.title && logObj.title to logObj.title. Perhaps logObj && logObj.title was intended, but since this is within if (logObj.type === "box") {}, logObj should be defined.