mozilla

Compare Revisions

void operator

Change Revisions

Revision 487903:

Revision 487903 by secondtruth on

Revision 535345:

Revision 535345 by Delapouite on

Title:
void
void
Slug:
Web/JavaScript/Reference/Operators/void
Web/JavaScript/Reference/Operators/void
Tags:
"URIs", "JavaScript"
"URIs", "JavaScript"
Content:

Revision 487903
Revision 535345
n51      The <code>void</code> operator is often used merely to obtan51      The <code>void</code> operator is often used merely to obta
>in the <code>undefined</code> primitive value, usually using "<co>in the <code>undefined</code> primitive value, usually using "<co
>de>void(0)</code>" (which is equivalent to "<code>void 0</code>")>de>void(0)</code>" (which is equivalent to "<code>void 0</code>")
>. In these cases, the global variable <a href="/en-US/docs/JavaSc>. In these cases, the global variable <a href="/en-US/docs/Web/Ja
>ript/Reference/Global_Objects/undefined" title="en-US/docs/JavaSc>vaScript/Reference/Global_Objects/undefined" title="/en-US/docs/W
>ript/Reference/Global_Objects/undefined"><code>undefined</code></>eb/JavaScript/Reference/Global_Objects/undefined"><code>undefined
>a> can be used instead (assuming it has not been assigned to a no></code></a> can be used instead (assuming it has not been assigne
>n-default value).>d to a non-default value).
t59    <pre>t59    <pre class="brush: html">

Back to History