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







查看全文
  • 相关阅读:
    如何将英文PDF文献翻译成中文
    基于颜色的R2V软件快速矢量化
    ArcGIS下如何提取研究区域
    ArcGIS 如何设置地图显示范围大小
    基于GIS的空间分析功能分析芝加哥小熊队和白袜队的球迷范围
    C#中的字段,常量,属性与方法
    ArcGIS中的连接和关联表
    使用docker搭建Samba共享目录
    Docker国内镜像源的切换
    pl/sql中的取模运算
  • 原文地址:https://www.cnblogs.com/ldxsuanfa/p/10477366.html
  • Copyright © 2011-2022 走看看