Question d’entretien chez Meta

How to mimic stack and queue in javascript

Réponse à la question d'entretien

Utilisateur anonyme

8 mars 2022

use array pop(), push() and shift()