Pregunta de entrevista de Ladders

Create a stack with substacks with JS. add and remove data like .pop and .push