Add Data To Empty Array Javascript Length Method In C