Checking for array or Json values in JavaScript
<p>I am trying to check, if certain words exist, but as far as I have tried, it seems not to be working. </p>

<p></p>

<pre><code> Chars = {
    ae: 'hello',
    oe: 'world',
};

if(ae in Chars){
    document.write('yes');
}else{
    document.write('no');
}   
</code></pre>

<p>I am just trying to know, if <code>ae</code> exists</p>
