• jol@discuss.tchncs.de
    link
    fedilink
    arrow-up
    6
    ·
    edit-2
    1 month ago

    A text file with a script block and nothing else, containing a console log, is all you need. You already have all the boilerplate to run it in any computer. No extra dependencies, no installing anything. Literally just a notes editor app. This is a valid HTML file:

    <script>
    console.log("Hello World")
    </script>
    
    • Lysergid
      link
      fedilink
      arrow-up
      1
      arrow-down
      1
      ·
      1 month ago

      I think you forgot to pollyfill your console.log and now you have some error in some script in some callback

    • arc@lemm.ee
      link
      fedilink
      arrow-up
      1
      arrow-down
      1
      ·
      1 month ago

      By that logic we should all program with .bat files

      • jol@discuss.tchncs.de
        link
        fedilink
        arrow-up
        1
        ·
        1 month ago

        Bash and bat scripts are really useful for that reason. You’re making a bad generalization from my comment. But the premise from OP seems to be that a language’s value is how hard it is to get started.