摘要: const compareVersion = (source = '10.2.3.beta', target = '10.2.13') => { const targetArray = target.split('.') const sourceArray = source.split('.') c 阅读全文
posted @ 2020-08-14 21:28 671_MrSix 阅读(158) 评论(0) 推荐(0) 编辑
摘要: “暂时性死区”也意味着typeof不再是一个百分之百安全的操作。 es6声明变量的方法:var、function、let、const、import、class。 顶层对象的属性与全局变量挂钩,被认为是JavaScript语言最大的设计败笔之一。这样的设计带来了几个很大的问题,首先是没法在编译时就报出 阅读全文
posted @ 2020-08-14 12:30 671_MrSix 阅读(169) 评论(0) 推荐(0) 编辑