After following, you can keep track of his dynamic information in a timely manner
Courses in the relevant section:Basic syntax of JavaScript (identifiers/variables)
不错,学习var的基础用法
2023-02-070个赞
Courses in the relevant section:JavaScript data types
主要是null和object的学习
2023-02-070个赞
Courses in the relevant section:Mutual conversion of data types in JavaScript
string()是将数据转化成字符串类型,number()是将数据转化成number类型,parseInt() 是只取整数部分,忽略小数部分(从第一个字符开始查找,找到非数字截止,并返回找到的数字,但是如果第一个字符不是数字就返回nan);parseFloat()同上一个,只是他可以把小数部分也取得,Boolean()转化为布尔型
2023-02-070个赞
Courses in the relevant section:Overview of operators in JavaScript
加号两端是数字就是运算符,加号两边有字符串就是连接符;&& 并且,||或者,!取反
2023-02-090个赞
Courses in the relevant section:JavaScript array type (Array)
Array数组支持字符串,数字,如果有字符串和数字支持吗?
2023-02-090个赞