mozilla

Compare Revisions

for...in

Change Revisions

Revision 322029:

Revision 322029 by bigbossSNK on

Revision 337301:

Revision 337301 by madarche on

Title:
for...in
for...in
Slug:
JavaScript/Reference/Statements/for...in
JavaScript/Reference/Statements/for...in
Content:

Revision 322029
Revision 337301
tt145        <a href="https://developer.mozilla.org/en-US/docs/JavaScr
 >ipt/Reference/Statements/for...of" title="/en-US/docs/JavaScript/
 >Reference/Statements/for...of">for...of</a> - a similar statement
 > that iterates over the property <em>values</em>.
146      </li>
147      <li>
145        <a href="/en/JavaScript/Reference/Statements/for_each...i148        <a href="/en/JavaScript/Reference/Statements/for_each...i
>n" title="en/JavaScript/Reference/Statements/for_each...in">for e>n" title="en/JavaScript/Reference/Statements/for_each...in">for e
>ach...in</a> - similar to <code>for...in</code>, but iterates ove>ach...in</a> - a similar statement, but iterates over the values 
>r the values of object's properties, rather than the property nam>of object's properties, rather than the property names themselves
>es themselves. (<a href="/en/JavaScript/New_in_JavaScript/1.6" ti>. (<a href="/en/JavaScript/New_in_JavaScript/1.6" title="en/New_i
>tle="en/New_in_JavaScript_1.6">New in JavaScript 1.6</a>.)>n_JavaScript_1.6">New in JavaScript 1.6</a> but deprecated)

Back to History