Use ECMAscripts “bracket notation”:
myTextOptions[ 'character names' ].kid;
You can use that notation either way, reading & writting.
For more information read out here:
More Related Contents:
- Count the recurrence of a word
- Why don't we use JavaScript objects to store data instead of MySQL or any database? [closed]
- Dynamically access object property using variable
- Why is null an object and what’s the difference between null and undefined?
- Remove array element based on object property
- What is the difference between string primitives and String objects in JavaScript?
- How can I get the index of an object by its property in JavaScript?
- Why do empty JavaScript arrays evaluate to true in conditional structures?
- Access JavaScript property case-insensitively?
- How do I remove an object from an array with JavaScript? [duplicate]
- What is property in hasOwnProperty in JavaScript?
- javascript pass object as reference
- How to determine whether an object has a given property in JavaScript
- How can I find the keys of an object?
- how to access object property using variable [duplicate]
- What is an “internal slot” of an object in JavaScript?
- break array of objects into separate arrays based on a property
- In JavaScript, is chained assignment okay?
- ES6 destructuring object assignment function parameter default value
- Encoding Javascript Object to Json string
- Get all instances of class in Javascript
- Filtering array of objects by searching nested object properties
- Is there any possibility to have JSON.stringify preserve functions?
- Dynamic deep setting for a JavaScript object [duplicate]
- getting the last item in a javascript object
- Sort Keys in Javascript Object
- How to prevent automatic sort of Object numeric property?
- Javascript / Chrome – How to copy an object from the webkit inspector as code
- How to remove undefined and null values from an object using lodash?
- What’s the JavaScript’s Object.prototype behavior?