Take a look at the following code snippet:
var arr = [{"id":"123", "name":"Jyotirmoy"}];
var mapObj = {};
for(var i=0; i < arr.length; i++){mapObj[arr[i].id] = arr[i];}
After creating the map, attempting to access it using the key 'mapObj.123' results in an "Unexpected number" error. However, if you try 'mapObj[123]' or 'mapObj["123"]', the correct object is displayed. What modifications are needed to reference it using the '.' notation?