Array数组的所有方法
摘要:数组的所有方法 1、concat()把元素衔接到数组中。 例子: var str1 = "Hello "; var str2 = "world!"; var n = str1.concat(str2); Hello world! 输出结果 2 every() 方法使用指定函数检测数组中的所有元素:
阅读全文
posted @
2021-01-08 10:58
写最骚的代码
阅读(374)
推荐(0) 编辑
toLocaleString相当强大的API
摘要:转:https://blog.csdn.net/weixin_39749820/article/details/82869537
阅读全文
posted @
2021-01-08 10:01
写最骚的代码
阅读(104)
推荐(0) 编辑
Uncaught URIError: URI malformed at decodeURIComponent (<anonymous>)
摘要:var encodeSearchKey = function(key) { const encodeArr = [{ code: '%', encode: '%25' }, { code: '?', encode: '%3F' }, { code: '#', encode: '%23' }, { c
阅读全文
posted @
2021-01-08 09:39
写最骚的代码
阅读(3189)
推荐(0) 编辑