how to know if an object is a map js code example
Example: how to check if an object is map in javascript
var foo = new Set;
foo instanceof Set; // True!
foo instanceof Map; // False!
var foo = new Set;
foo instanceof Set; // True!
foo instanceof Map; // False!