crop_rotate
Run
<!DOCTYPE html> <html> <body> <h2>JavaScript For/Of Loop</h2> <script> const iterable = new Map([['a', 1], ['b', 2], ['c', 3]]); for (const entry of iterable) { console.log(entry); } /* out put */ /* ['a', 1] */ /* ['b', 2] */ /* ['c', 3] * for (const [key, value] of iterable) { console.log(value); } /* out put */ /* 1 */ /* 2 */ /* 3 */ </script> </body> </html>
PCFET0NUWVBFIGh0bWw+DQo8aHRtbD4NCjxib2R5Pg0KDQo8aDI+SmF2YVNjcmlwdCBGb3IvT2YgTG9vcDwvaDI+DQo8c2NyaXB0Pg0KY29uc3QgaXRlcmFibGUgPSBuZXcgTWFwKFtbJ2EnLCAxXSwgWydiJywgMl0sIFsnYycsIDNdXSk7DQoNCmZvciAoY29uc3QgZW50cnkgb2YgaXRlcmFibGUpIHsNCiAgY29uc29sZS5sb2coZW50cnkpOw0KfQ0KLyogb3V0IHB1dCAqLw0KLyogWydhJywgMV0gKi8NCi8qIFsnYicsIDJdICovDQovKiAgWydjJywgM10gKg0KDQpmb3IgKGNvbnN0IFtrZXksIHZhbHVlXSBvZiBpdGVyYWJsZSkgew0KICBjb25zb2xlLmxvZyh2YWx1ZSk7DQp9DQovKiBvdXQgcHV0ICovDQovKiAxICovDQovKiAgMiAqLw0KLyogMyAgKi8NCjwvc2NyaXB0Pg0KDQo8L2JvZHk+DQo8L2h0bWw+