how to check object or map in javascript 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!