Remove First Object From Array Javascript Methods Syntax In C