会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
前端之旅
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
6
7
8
9
10
11
12
下一页
2020年3月4日
vue_组件化_TodoList工具
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Document</title> <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></sc
阅读全文
posted @ 2020-03-04 11:31 前端之旅
阅读(306)
评论(0)
推荐(0)
2020年3月3日
node_fs文件系统模块_常用方法
摘要: //fs文件系统模块 let fs = require('fs') let http = require('http') // 读取文件操作 // 第一个参数为相对路径(也可传入绝对路径__dirname:代表当前目录的绝对路径,是一个字符串) // 第二个参数是一个回调函数 //console.l
阅读全文
posted @ 2020-03-03 23:42 前端之旅
阅读(365)
评论(0)
推荐(0)
node_同步异步
摘要: //同步 // function fn (n) { // if (n == 0) return n // return fn(n-1) // } // console.log(1) // let result = fn(5) // console.log(2) // 运行结果1、2 // 当resu
阅读全文
posted @ 2020-03-03 22:10 前端之旅
阅读(256)
评论(0)
推荐(0)
node_http模块
摘要: // require语法 导入模块 //http,node内置模块 let http = require('http') //创建一个服务器通道, 并传入回调函数 let server = http.createServer((request, response) => { //回调函数接受requ
阅读全文
posted @ 2020-03-03 20:57 前端之旅
阅读(102)
评论(0)
推荐(0)
node_优缺点
摘要: 一、单线程,主线程一个,底层工作线程多个。 Nodejs与操作系统交互,我们在 Javascript中调用的方法,最终都会通过 process.binding 传递到 C/C++ 层面,最终由他们来执行真正的操作。Node.js 即这样与操作系统进行互动。 nodejs所谓的单线程,只是主线程是单线
阅读全文
posted @ 2020-03-03 20:49 前端之旅
阅读(775)
评论(0)
推荐(0)
node_简介及部署安装配置
摘要: Node简介及部署安装配置 一、node简介 Node.js 是一个基于 Chrome V8 引擎的 JavaScript 运行环境。 Node.js 使用了一个事件驱动、非阻塞式 I/O 的模型 Node 是一个让 JavaScript 运行在服务端的开发平台,实质是对Chrome V8引擎进行了
阅读全文
posted @ 2020-03-03 19:52 前端之旅
阅读(933)
评论(0)
推荐(0)
2020年2月26日
数据结构_二分查找
摘要: //快速排序 class ArrayList { constructor () { this.array = [] } insert (data) { return this.array.push(data) } quickSort () { this.array = this.quick(this
阅读全文
posted @ 2020-02-26 20:35 前端之旅
阅读(155)
评论(0)
推荐(0)
数据结构_快速排序
摘要: //快速排序 class ArrayList { constructor () { this.array = [] } insert (data) { return this.array.push(data) } quickSort () { this.array = this.quick(this
阅读全文
posted @ 2020-02-26 20:08 前端之旅
阅读(127)
评论(0)
推荐(0)
数据结构_归并排序
摘要: //归并排序 class ArrayList { constructor () { this.array = [] } insert (data) { return this.array.push(data) } mergeSort () { this.array = this.merge_1(th
阅读全文
posted @ 2020-02-26 19:41 前端之旅
阅读(116)
评论(0)
推荐(0)
数据结构_希尔排序
摘要: //希尔排序 class ArrayList { constructor () { this.array = [] } insert (data) { return this.array.push(data) } shellSort () { let length = this.array.leng
阅读全文
posted @ 2020-02-26 19:01 前端之旅
阅读(172)
评论(0)
推荐(0)
上一页
1
···
6
7
8
9
10
11
12
下一页
公告