15 lines
118 B
JavaScript
15 lines
118 B
JavaScript
|
|
h = {"one":1, "two":2, "three":3}
|
||
|
|
for (x in h) print(x);
|
||
|
|
/*
|
||
|
|
two
|
||
|
|
one
|
||
|
|
three
|
||
|
|
*/
|
||
|
|
|
||
|
|
for each (y in h) print(y);
|
||
|
|
/*
|
||
|
|
2
|
||
|
|
1
|
||
|
|
3
|
||
|
|
*/
|