verify if map returns something js code example Example: how to check if map is map javascript 'the element' instanceof Map