My answer is the same as the others, but with a bit more explanation...
val["*"] // Bracket notation
Objects in JavaScript are really not too much more than dictionaries, groupings of key/value pairs or, said another way, associative arrays.
As such, you are always able to access an object's property (a.k.a. key) by passing a string as an index to the object. But, if the index/key/property name does not contain any illegal language identifier characters, then you can use the more common "dot notation".
Taking this to an extreme, most people would probably say that an object property name could not contain spaces because, of course, this wouldn't compile and doesn't seem to make any sense:
obj.some property name = "10"; // won't compile
But, you actually can have a property name that contains spaces if you think of the object as an array and the property name as a key:
obj["some property name"] = 10; // perfectly fine
This also opens up some great opportunities for dynamic code because it allows for you to pass a key (string) dynamically:
var keyName = new Date().toLocaleTimeString();
var obj = {};
obj[keyName] = "some value";
for(var prop in obj){
console.log("The obj." + prop + " property has a value of: " + obj[prop]);
}