Todas las lecciones
    Avanzado

    Code Snippets — JavaScript

    Practice typing real-world JavaScript code

    0PPM
    100%Precisión
    1:00Tiempo restante
    class Stack { constructor() { this.items = []; } push(x) { this.items.push(x); } pop() { return this.items.pop(); } peek() { return this.items[this.items.length - 1]; } }
    Termina la prueba para desbloquear

    Completa esta lección para desbloquear tu certificado gratuito.

    Lecciones relacionadas