// \d :正则表达式,匹配一个数字字符。等价于 [0-9]。
function _search(string) {
    // 补全代码
    return string.search(/\d/) >= 0 ? true : false
}