Update create-an-es6-javascript-map.md (#43495)
This commit is contained in:
@ -39,5 +39,7 @@ assert(myMap.get('freeCodeCamp') === 'Awesome!');
|
|||||||
# --solutions--
|
# --solutions--
|
||||||
|
|
||||||
```js
|
```js
|
||||||
// solution required
|
const myMap = new Map();
|
||||||
|
|
||||||
|
myMap.set("freeCodeCamp", "Awesome!");
|
||||||
```
|
```
|
||||||
|
Reference in New Issue
Block a user