<cfscript> logLevels = { OFF: { level: 0 }, FATAL: { level: 100 }, ERROR: { level: 200 }, WARN: { level: 300 }, INFO: { level: 400 }, DEBUG: { level: 500 }, TRACE: { level: 600 } }; // Attempt to SPREAD the OFF properties into a new object. selectedLevel = { ...logLevels.OFF }; writeDump( selectedLevel ); </cfscript>