how to check if map is map javascript

JavaScript
'the element' instanceof Map
Source

Also in JavaScript: