日常总结(一)
source link: https://segmentfault.com/a/1190000040782100
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
日常总结(一)
总结日常遇到的问题
Messagepack
数据格式与json类似,但是存储空间大大缩减
链接点击,Messagepack
【名词解析】
Wildcard
表示 通配符 *
虚拟机环境中编译执行JS代码,可以用来执行一些不信任的代码
链接点击,vm2
Nunjacks
JavaScript 专用模板引擎
链接点击,Nunjacks
正则表达式和有限状态机关系
正则表达式可以通过有限状态机(NFA)来表示
链接点击,有限状态机
npm version
npm version 不仅仅是显示版本号那么简单,还可以通过它 修改 major minor patch等npm版本等,了解npm版本规则
链接点击,npm version
无需JS文件创建worker
webworker需要引入额外的js文件,非常不方便,通过 URL.createObjectURL Blob对象 以及function.toString()来实现
链接点击,无需JS文件创建worker
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK