摘要: 检测数组 site 是否包含 runoob : let site = ['runoob', 'google', 'taobao']; site.includes('runoob'); // true site.includes('baidu'); // false 阅读全文
posted @ 2022-01-24 17:33 土小狗 阅读(139) 评论(0) 推荐(0) 编辑