-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2018-8-16 js基础复习3 #5
Comments
什么是函数式编程? |
HTML5 标签 H5是什么? |
css两种盒模型 BFC是什么 (块级格式化上下文) css页面布局 1.左右ding kuan |
CSS选择器的优先级 |
清除浮动的代码 |
1 similar comment
清除浮动的代码 |
与数值有关的全局方法
parseint(要转化的内容,进制) 转为整数(只能是十进制数,或者NaN)
字符串转为整数的时候,是一个字符依次转换,如果遇到不能转换的字符,就不再进行下去,直接返回已经转好的部分
例如:parseInt(8asddsa1112)//8
parseFloat("")//0
Number("")//NaN
isNaN:判断一个数是否是。。
isFinite()//是不是一个正常的数值,返回布尔值
例如:isFinite(Infinity)//false
isFinite(NaN)//false
isFinite(null)/true
...
The text was updated successfully, but these errors were encountered: