how to detect a function was called with javascript
<p>i have a javascript function</p>

<p>how to check</p>

<p>if function was called ( in <code>&lt;head&gt;&lt;/head&gt;</code> section have this function ) then not call function</p>

<p>if function was not called ( in <code>&lt;head&gt;&lt;/head&gt;</code> section haven't this function ) then call function</p>

<p>like require_once or include_once with php</p>

<p>help me
thank</p>
