The following two different code snippets seem equivalent to me:
var myArray = Array(); myArray[\'A\'] = \"Athens\"; myArray[\'B\'] = \"Berlin\";
The {}-notation is just syntactical sugar to make the code nicer ;-)
{}
JavaScript has many similar constructs like the construction of functions, where function() is just a synonym for
var Func = new Function("", "");
");