crop_rotate
Run
<!DOCTYPE html> <html> <body> <h2>JavaScript Map Objects</h2> <p>Using Map.set():</p> <p id="demo"></p> <script> // Create a Map const fruits = new Map(); // Set Map Values fruits.set("apples", 500); fruits.set("bananas", 300); fruits.set("oranges", 200); document.getElementById("demo").innerHTML = fruits.get("apples"); </script> </body> </html>
PCFET0NUWVBFIGh0bWw+DQo8aHRtbD4NCjxib2R5Pg0KPGgyPkphdmFTY3JpcHQgTWFwIE9iamVjdHM8L2gyPg0KPHA+VXNpbmcgTWFwLnNldCgpOjwvcD4NCg0KPHAgaWQ9ImRlbW8iPjwvcD4NCg0KPHNjcmlwdD4NCi8vIENyZWF0ZSBhIE1hcA0KY29uc3QgZnJ1aXRzID0gbmV3IE1hcCgpOw0KDQovLyBTZXQgTWFwIFZhbHVlcw0KZnJ1aXRzLnNldCgiYXBwbGVzIiwgNTAwKTsNCmZydWl0cy5zZXQoImJhbmFuYXMiLCAzMDApOw0KZnJ1aXRzLnNldCgib3JhbmdlcyIsIDIwMCk7DQoNCmRvY3VtZW50LmdldEVsZW1lbnRCeUlkKCJkZW1vIikuaW5uZXJIVE1MID0gZnJ1aXRzLmdldCgiYXBwbGVzIik7DQo8L3NjcmlwdD4NCg0KPC9ib2R5Pg0KPC9odG1sPg==