摘要: 使用 !! 在 JS 中将任何内容转换为布尔值 !!true; //true !!false; //false !!0; // false !![]; //false !!''; //false !!'123'; //true 使用扩展运算符组合两个数组 const nums1 = [1, 2, 3 阅读全文
posted @ 2021-08-03 15:41 _houjie 阅读(49) 评论(0) 推荐(0)