× {{alert.msg}} Never ask again
Get notified about new tutorials RECEIVE NEW TUTORIALS

how to get around a '-' in array path

<p>You can access object properties using brackets too:</p> <p><code>result['saved-jobs']</code></p> <p>You can find more here: <a href="http://stackoverflow.com/questions/4968406/javascript-property-access-dot-notation-vs-brackets">JavaScript property access: dot notation vs. brackets?</a></p> <p>This tip was originally posted on <a href="http://stackoverflow.com/questions/25038050/how%20to%20get%20around%20a%20'-'%20in%20array%20path/25038105">Stack Overflow</a>.</p>
comments powered by Disqus