Python Push Pop Array Method In Javascript Mdn Map To Set