Python Delete Last Element In Array Javascript Length Of Associative Array