JS getting value of object with key starting with a string
<p>Is there a quick way to get the value of a key starting with a certain string?</p>

<p>Example :</p>

<pre><code>var obj = {
  "key123" : 1,
  "anotherkey" : 2
}

obj['key1'] // would return 1
obj['ano'] // would return 2
</code></pre>

<p>Thanks</p>