微信登录

转换 - parseInt("12"); - string字符串转int数字

  1. let a = parseInt("12");

parseInt展示
上图可以看见,浏览器右键 - 检查 - 控制台,字符串红色,数字类型蓝色