tj/co 函数生成器

Posted by 夏泽民

https://github.com/tj/co JS函数生成器,function* () {}



class

Posted by 夏泽民

class Base{ constructor(arg1,arg2){ this.arg1 = arg1; this.arg2 = arg2; }



多进程

Posted by 夏泽民

Node.js 是以单线程的模式运行的,但它使用的是事件驱动来处理并发,这样有助于我们在多核 cpu 的系统上创建多个子进程,从而提高性能。



node Buff Stream

Posted by 夏泽民

Node.js Buffer(缓冲区) JavaScript 语言自身只有字符串数据类型,没有二进制数据类型。



async await

Posted by 夏泽民

async 函数是什么?一句话,它就是 Generator 函数的语法糖。



Search

Popular posts

Anything in here will be replaced on browsers that support the canvas element

Recent posts

This blog is maintained by 夏泽民

Get in touch with me at 465474307@qq.com

Subscribe to our mailing list

* indicates required