Objects, part 2: Beau teaches JavaScript

Поделиться
HTML-код
  • Опубликовано: 29 янв 2025

Комментарии • 5

  • @carpediem73
    @carpediem73 4 года назад

    thank you, that was helpul

  • @aradipatrik
    @aradipatrik 7 лет назад +1

    why do you use string literals for the property names?
    Why use { x: "hello" } instead of { "x": "hello" } ?

    • @danielstoicamusic
      @danielstoicamusic 7 лет назад +1

      It's an object, not a JSON.

    • @droidgenetx
      @droidgenetx 2 года назад

      I was thinking the same thing. Does it make a difference?

  • @aaronargottelopez3488
    @aaronargottelopez3488 4 года назад