A map object named myMap is created and has several key-value pairs. Your task is to calculate the size of the mymap object using relevant map methods or properties and store it in the sizeOfMyMap variable.
Map
What's your size?
Report a typo
Sample Input 1:
Sample Output 1:
trueWrite a program in JavaScript
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.