Javascript Object initialization
<p>I am trying to initialize a Javascript object like.</p>

<pre><code>function showKabineninfo(W3CElement) {
  params = params || {};
  ...
  ...       
}
</code></pre>

<p>But I am getting Javascript error that "params is undefined"</p>
