object name same a function name?
<p>If We have </p>

<pre><code>var randomname = {};
randomname.attribute = 'something';

function randomname(){
  alert(randomname.attribute);
}
randomname();
</code></pre>

<p>Will javascript throw any errors?</p>

<p><hr /><strong>Update</strong><br />
So, We know that we cannot have a object have the same name as a function.</p>

<p>Why is this?</p>

<p>Should javascript not be able to tell what you are after by the way you call it?</p>
