• fidodo@lemmy.world
    link
    fedilink
    English
    arrow-up
    6
    ·
    7 months ago

    Simply pasting the string would give you the answer as the console uses a programming font

    • GTG3000
      link
      fedilink
      English
      arrow-up
      2
      ·
      7 months ago

      Fair, but I’m trying to trick them into learning js here :P

        • GTG3000
          link
          fedilink
          English
          arrow-up
          1
          ·
          7 months ago

          Well, ignoring the mire of ancient bad idea compatibility, it’s nice to just have a REPL wherever you have a browser.

        • GTG3000
          link
          fedilink
          English
          arrow-up
          1
          ·
          7 months ago

          Man, I wish you could just use TS without some kind of preprocessor.

          But I also wish JS had less footguns like “oh, this function returns an array-like object that has half of array methods… But not the one you want right now”.