how to log an object with spaces in keys javascript code example Example: how to access object keys which have spaces in them myTextOptions[ 'character names' ].kid;