How to use the indexOf function from ip
Find comprehensive JavaScript ip.indexOf code examples handpicked from public code repositorys.
15 16 17 18 19 20 21 22 23 24
* 【::ffff:】 * @param ip * @returns {*|string} */ static replacePrefix(ip) { return ip.indexOf('::ffff:') > -1 ? ip.replace(/::ffff:/g, '') : '-'; } /** * 获取内网IP
0
0
0
ip.address is the most popular function in ip (635 examples)