🌈 搜索
📅  最后修改于: 2022-03-11 15:04:28.048000             🧑  作者: Mango
var str = "Se7en"; var search = str.search(/\d/); console.log("first digit at: ", search); // first digit at: 2