No offence

  • Feathercrown@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    In the browser you cannot access stdout, but you can use console.log to write to the dev console which is basically the same thing.

    In Node, you can use process.stdout.

    Both are available from the top-level globalThis objects that are part of each platform’s respective default library.