[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](./js-utils.optional.md)<[MapLike](./js-utils.maplike.md)<TVal>> | | Returns: Map<string, TVal>