Clones the Map object with a shallow copy method. If you want to clone Map deeply, you can use structuredClone function.
Map
structuredClone
To be cloned.
A new cloned one.
Generated using TypeDoc
Clones the
Map
object with a shallow copy method. If you want to cloneMap
deeply, you can usestructuredClone
function.