[Home](./index.md) > [@apextoaster/js-utils](./js-utils.md) > [makeMap](./js-utils.makemap.md)
## makeMap() function
Clone a map or map-like object into a new map.
Signature:
```typescript
export declare function makeMap(val: Optional>): Map;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| val | Optional<MapLike<TVal>>
| |
Returns:
`Map`