Javascript Delete First Item In Array Definition In C