Python Push Pop Array Javascript Length Of Object In Javascript