map value in javascript how to check code example Example: how to check if map is map javascript 'the element' instanceof Map