标签:图片 parse rip src charset mamicode 进制 int div
<!DOCTYPE html> <html> <head lang="en"> <meta charset="UTF-8"> <title></title> </head> <body> <script> console.log(parseInt(19.11)); console.log(parseInt(19.99)); console.log(parseInt("25px")); console.log(parseInt("px25px")); console.log(parseInt(110, 2)); // 把110当做2进制进行解析 console.log(parseInt("1110", 3)); </script> </body> </html>
标签:图片 parse rip src charset mamicode 进制 int div
原文地址:https://www.cnblogs.com/ustc-yy/p/12054355.html