🌈 搜索
📅  最后修改于: 2022-03-11 15:03:33.958000             🧑  作者: Mango
var PATTERN = /bedroom/, filtered = myArray.filter(function (str) { return PATTERN.test(str); });