Add Value To An Array Javascript Methods Syntax