Find And Delete Object From Array Javascript Methods Syntax Vs Semantics