摘要: 1、var变量是函数或全局作用域,let和const变量是块作用域; 2、let和const变量受暂存死区的约束,var变量不受; 3、var变量是可分配和声明的,letr变量是可分配、不可重新声明的,const变量则不可重新分配和声明。 阅读全文
posted @ 2021-04-20 19:16 sanshan2333 阅读(79) 评论(0) 推荐(0) 编辑
摘要: 1、四种整数类型(byte、short、int、long)byte:占用1个字节,8 bit,用于表示最小数据单位,如文件中数据,-128~127short:占用2个字节,16 位,-32768 ~ 32767int:占用4个人字节,32 位,-2^31-1~2^31 (21 亿)long:占用8个 阅读全文
posted @ 2021-01-25 13:42 sanshan2333 阅读(16) 评论(0) 推荐(0) 编辑
摘要: 一.安装GNOME 使用Putty连接主机 依次输入以下命令行 yum groupinstall -y "X Window System"yum -y groups install "GNOME Desktop"yum install kde-l10n-Chinese 二.安装VNC 1.安装VNC 阅读全文
posted @ 2021-01-25 13:29 sanshan2333 阅读(98) 评论(0) 推荐(0) 编辑