Warning: Attempt to read property "ID" on bool in /www/wwwroot/129.28.78.18/wp-content/themes/storeys-pro/wbc/components/og_schema/wb_og_schema.php on line 471

Warning: Attempt to read property "display_name" on bool in /www/wwwroot/129.28.78.18/wp-content/themes/storeys-pro/wbc/components/og_schema/wb_og_schema.php on line 480

Warning: Attempt to read property "display_name" on bool in /www/wwwroot/129.28.78.18/wp-content/themes/storeys-pro/wbc/components/og_schema/wb_og_schema.php on line 487

Warning: Attempt to read property "description" on bool in /www/wwwroot/129.28.78.18/wp-content/themes/storeys-pro/wbc/components/og_schema/wb_og_schema.php on line 489

Warning: Attempt to read property "ID" on bool in /www/wwwroot/129.28.78.18/wp-content/themes/storeys-pro/wbc/components/og_schema/wb_og_schema.php on line 493

20200825冯强_日志

学习总结:

变量:

​ 变量就是在内存中存储一个数据的存储空间 (存储信息的 “ 容器 ” )

var 变量名=值;

常量:

​ 常量使用关键字 const 声明,一旦声明,不允许重新赋值,当程序中的一个值,在任何情况下都不能发生改变的时候就使用常量。

const 常量名=值

数据类型:

​ string boolean number null undefined

数值型+字符串型==>字符串型

数值型+布尔型==>数值型

字符串型+布尔型==>字符串型

x.toStirng() x不能为undefined null String(x)可以

Boolean(x)只有 null undeined 0 "" NAN是false

字面量:

​ 定义的数值。

运算符:

​ / % ++ --等 注意他们的优先级

不足:

运算符的优先级 正则表达式尚不是很清楚。

评论留言