js
Cvanzy
www.cvanzy.com
展开
-
Node.js Global Time Function 时间方程: 有趣的倒计时
There are 2 mainly tie function: 1. setTimeout( call back function, waittime) When the time equal to waittime you set, the callback function will be activated the unit of wait ti...原创 2018-10-19 03:41:13 · 439 阅读 · 0 评论 -
Node.js Core Modules 核心模组 The modules do need to use NPM install
The modules do need to use NPM install: These modules installed locally with you install NODE js 1. Path module LOAD: var path = require("path") Using: path.basename(__filename) # pluck out t...原创 2018-10-19 04:13:31 · 450 阅读 · 0 评论 -
Node.js You should know 基础知识
1. Node.js is Javascript runtime environment 运行时系统 The Node run-time environment includes everything you need to execute a program written in JavaScript. Now you can do much more with JavaScript t...原创 2018-10-16 23:08:23 · 226 阅读 · 0 评论 -
Node.js: The global object / require
1. console.log() 2. slice() # String.slice(len) __________ Include variable in a string var name = "Er Gou" console.log(`Hi, this is ${name}`) => Hi, this is Er Gou __________ 3. _dirna...原创 2018-10-17 04:11:36 · 181 阅读 · 0 评论 -
Node.js argv 教学
Process Object is a global object, IO/EO, EXECUTE ALL THOSE ARGUMENTS SAVED IN PROCESS.ARGV: Argument Variable To start the process// console.log(process.argv); var index = process.argv.indexOf...原创 2018-10-17 08:26:55 · 968 阅读 · 0 评论 -
Node.js FileSystem 文件系统 (全方位概括)
FileSystem 概括: node js 包含一个module 允许我们和filesystem交互 这个模组允许我们 创造文件 更改文件 列举文件 读写文件 摘要: FileSystem -- 列出文件: -- 读取文件 --创造 / 写入 文件 --创造文档 漏洞/完善 -- 更名/删除 文件/文档 更名 删除文件 --读入 流 --写入 流 更多 ...原创 2018-10-23 09:44:07 · 949 阅读 · 0 评论 -
VueJs 你必须知道Vue instance的 9个要点
new Vue 如何运行的 / Vue instance中包括什么量 / 如何修改element / Vue的生命周期是怎么样的/ Vue 如何改变 DOM 1. Vue instance中的量 el data methods computed watch 这些都是最基础的 2. 多个Vue instance 我们现在有俩个Div <div id="a1">...原创 2018-11-07 02:42:22 · 5981 阅读 · 0 评论