Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to check if an object is map in javascript

var foo = new Set;
foo instanceof Set; // True!
foo instanceof Map; // False!
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #check #object #map #javascript
ADD COMMENT
Topic
Name
6+7 =