Syntax Of Array In Javascript Functions With Parameters