It's usually a good idea to use the dot notation as much as possible in javascript.