結果 : stack operations in javascript