摘要: js 判断值大于-1 ~ :位非--类似取负数并-1 ~ -1 = -(-1) - 1 let str = "index"; if(~str.indexOf('r')){} js 去除数据的最外层引号 new Function():在使用时,编译器会将参数中的字符串当作正常的脚本代码来执行。 new 阅读全文
posted @ 2021-11-02 16:35 ~LemonWater 阅读(125) 评论(0) 推荐(0)