結果 : how to declare a stack in javascript