logo
  • 教程列表
  • SO官方文档
  • Node.js 入门
    • Hello World HTTP 服务器
    • Hello World 命令行
    • 快乐 Hello World
    • 安装和运行 Node.js.
    • 调试 NodeJS 应用程序
    • Hello World 基本路由
    • REPL 中的 Hello World
    • 在线部署你的应用程序
    • 核心模块
    • TLS 套接字服务器和客户端
    • 如何启动并运行基本 HTTPS Web 服务器
  1. StackOverflow 文档
  2. Node.js 教程
  3. Node.js 入门
  4. REPL 中的 Hello World

REPL 中的 Hello World

Created: November-22, 2018

当不带参数调用时,Node.js 启动一个 REPL(Read-Eval-Print-Loop),也称为“ Node shell ”。

在命令提示符下键入 node。

$ node
>

在 Node shell 提示符下,> 输入 Hello World!

$ node
> "Hello World!"
'Hello World!'
  • 在线部署你的应用程序
  • Hello World 基本路由

Copyright © 2018. All right reserved

tastones.com 备案号:鲁ICP备18045372号-1

  • 关于我们
  • 免责声明