js code:
var ChatWnd = Messenger.OpenChat ( 'johndoe@hotmail.com');
Coming from someone who knows a few different programming languages, I have never seen an object declared that way, or anything for that matter. I've only seen that method used to create a simpler way to type a long reference like
code:
variabletypehere NewName = system.bleh.blah.lol();