Push Array Into Object Javascript Methods Syntax Vs Semantics