1#include <iostream>
2#include <utility>
3#include <map>
4
5using namespace std;
6
7int main(void)
8{
9 map<int, int> m;
10 cout << m.size();
11}
12
13//Output: 0
1const map1 = new Map();
2
3map1.set('a', 'alpha');
4map1.set('b', 'beta');
5map1.set('g', 'gamma');
6
7console.log(map1.size);
8// expected output: 3