New to JavaScript – Why Doesn’t My Program Show Output in VS Code?

•Hi, I’m learning JavaScript and using VS Code. I’ve written a simple program, but when I run it in the terminal, I only see [done] and exited with code=0 in 0.2 seconds.

  • I’m not getting any output, and I’m not sure why. Is this normal?

  • I’ve read about using console.log(), but I’m hoping there’s a way to get output displayed directly in the Output section without needing console.log().

    with console.log
    without console.log

  • I’m expecting the program to output some text or perform an action that would be noticeable.

  • Is this normal behavior for JavaScript programs in VS Code? Or am I missing something that’s preventing my program from running as intended?