convert Java to javascript code : <p>Someone can help me,i have stuck here,i have code java like this:</p>

<pre><code>List&lt;Object&gt; lstObject = new ArrayList&lt;&gt;();
Object o = lstObject.get(0);
</code></pre>

<p>and now im confiuse how to change in the code javascript.
i hope some one can answer my question,and explain the logic.</p>

<p>thanks,</p>
