zoukankan      html  css  js  c++  java
  • Node.js的helloworld 程序

    用文本编辑器,如npp,键入例如以下代码,存储成hello.js

    console.log('hello')
    console.log('hello %s->%d','jeapedu', 1941847311)

    console.log('hello')
    console.log('hello %s->%d','jeapedu', 1941847311)
    node hello.js
    C:
    odeS>node hello.js
    hello
    hello jeapedu->1941847311
    

    cmd进入dos,切入hello.js所在文件夹,执行node.js程序

    node hello.js

    执行结果例如以下所看到的:

    C:
    odeS>node hello.js
    hello
    hello jeapedu->1941847311







查看全文
  • 相关阅读:
    转:Gerrit 学习
    list, set操作
    Dice chrone execise
    【转】terminal 快捷键
    python package list
    爬虫2
    爬虫 1
    django跨表联查传输数据到前端
    vue实现鼠标移入移出事件
    pycharm意外关闭导致报错Unexpected content storage modification:
  • 原文地址:https://www.cnblogs.com/ldxsuanfa/p/10477366.html
  • Copyright © 2011-2022 走看看