結果 : pop first element of list javascript