add space in the key of array js code example Example: how to access object keys which have spaces in them myTextOptions[ 'character names' ].kid;