Access Object Within Array Javascript Methods Syntax Vs Semantics