how to access object key in javascript if it has spaces code example Example: how to access object keys which have spaces in them myTextOptions[ 'character names' ].kid;