Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

JavaScript Map Size

let map1 = new Map();
map1.set('info', {name: 'Jack', age: "26"});

console.log(map1.size); // 1
Source by hashnode.dpkreativ.dev #
 
PREVIOUS NEXT
Tagged: #JavaScript #Map #Size
ADD COMMENT
Topic
Name
5+2 =