Array Declaration In Javascript Object Methods List