摘要: 参考:https://www.cnblogs.com/wisewrong/p/10517532.html 参考知乎回答:https://www.zhihu.com/question/22818104 1. random, 伪随机数 2.sort重排,取其中 3.洗牌算法 4.9301, 49297, 阅读全文
posted @ 2019-06-28 15:26 Loki-Liu 阅读(387) 评论(0) 推荐(0) 编辑
摘要: 参考:https://www.cnblogs.com/wisewrong/p/9642264.html 推荐以下去重方法,效率高 1.ES6 利用set去除 2.for of+object 阅读全文
posted @ 2019-06-28 11:22 Loki-Liu 阅读(112) 评论(0) 推荐(0) 编辑
摘要: 转:http://www.ruanyifeng.com/blog/2007/10/ascii_unicode_and_utf-8.html 1.ASCII 码 八个二进制位就可以组合出256种状态,这被称为一个字节(byte) 使用7 位二进制数(剩下的1位二进制为0)来表示所有的大写和小写字母,数 阅读全文
posted @ 2019-06-27 14:27 Loki-Liu 阅读(2832) 评论(0) 推荐(0) 编辑
摘要: 1. String.fromCharCode() 静态 String.fromCharCode() 方法返回由指定的UTF-16代码单元序列创建的字符串。 2. charCodeAt () 返回值是一表示给定索引处(String中index索引处)字符的 UTF-16 代码单元值的数字;如果索引超出 阅读全文
posted @ 2019-06-27 13:52 Loki-Liu 阅读(561) 评论(0) 推荐(0) 编辑
摘要: 1.opt for Would you opt for an expensive luxurious car or a reasonable but practical car? Would you opt for further study abroad or a well-paid job? N 阅读全文
posted @ 2019-06-27 09:49 Loki-Liu 阅读(146) 评论(0) 推荐(0) 编辑
摘要: 1. kick off 其实kick off源自于足球,就是开球,发球的意思。 引申为“开始做某事”的意思 kick-off meeting,kick-off party Candidates kick off their campaigns with a speech. Students kick 阅读全文
posted @ 2019-06-26 16:39 Loki-Liu 阅读(392) 评论(0) 推荐(0) 编辑
摘要: 1. mxgraph 图形存储 2. 缩略图 3. 禁止双击 阅读全文
posted @ 2019-06-26 14:21 Loki-Liu 阅读(742) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2019-06-26 14:11 Loki-Liu 阅读(497) 评论(0) 推荐(0) 编辑
摘要: 参考:https://www.cnblogs.com/diaoyan/p/5630014.html 阅读全文
posted @ 2019-06-25 17:02 Loki-Liu 阅读(579) 评论(0) 推荐(0) 编辑
摘要: 参考: http://www.ruanyifeng.com/blog/2011/01/guidelines_for_english_translations_in_public_places.html 阅读全文
posted @ 2019-06-25 15:10 Loki-Liu 阅读(225) 评论(0) 推荐(0) 编辑