Class Flashcard

Immutable type representing a flashcard, e.g., for learning vocabulary words in a native language or foreign language.

PS1 instructions: do NOT change this class.

Hierarchy

  • Flashcard

Properties

Methods

Properties

back: string

this card's back side, e.g. its definition

front: string

this card's front side, e.g. a vocabulary word

Methods

  • Returns string

  • Make a flashcard.

    Returns

    flashcard with front and back

    Parameters

    • front: string

      the card's front side, e.g. a vocabulary word

    • back: string

      the card's back side, e.g. its definition

    Returns Flashcard

Generated using TypeDoc