12 2021 档案

摘要:<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="wi 阅读全文
posted @ 2021-12-30 16:35 Samsara315 阅读(64) 评论(0) 推荐(0) 编辑
摘要:<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="wi 阅读全文
posted @ 2021-12-29 11:06 Samsara315 阅读(43) 评论(0) 推荐(0) 编辑
摘要:总结: Express 封装、内置了很多中间件,比如 connect和 router,而 KOA 则比较轻量,开发者可以根据自身需求定制框架; Express 是基于 callback 来处理中间件的,而 KOA 则是基于 await/async; 在异步执行中间件时,Express 并非严格按照洋 阅读全文
posted @ 2021-12-09 14:38 Samsara315 阅读(68) 评论(0) 推荐(0) 编辑
摘要:console.log('1','1'); setTimeout(function() { console.log('2','5'); process.nextTick(function() { console.log('3','7'); }); new Promise(function(resol 阅读全文
posted @ 2021-12-07 17:51 Samsara315 阅读(60) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示