Js Array Add Elements Into Array Methods In C