基础类型:number string boolean undefined null 引用类型:object array function 基本类型和复杂类型区别: 1.存储不同:基本类型的存储,是将值存到栈中;复杂类型的存储,将值存到堆中,将堆的地址存到栈中 2.赋值不同:基本类型的赋值,将值复制一 ...
分类:
其他好文 时间:
2021-01-08 11:20:25
阅读次数:
0
函数:定义函数 定义方式 第一种定义方式:可在后面定义前面调用. function gg(){ console.log("函数内部的代码"); } 第二种定义方式:必须先定义后面执行 // b();//报错 -- let定义的函数不可以提前调用 let b = function(){ console ...
分类:
编程语言 时间:
2021-01-08 11:19:35
阅读次数:
0
let status=1; switch (status) { case 1: console.log("status为1的时候你将做的事"); break; case 2: console.log("status为2的时候你将做的事"); break; case 3: console.log("s ...
分类:
其他好文 时间:
2021-01-08 11:19:20
阅读次数:
0
参考https://blog.csdn.net/nixonwuying/article/details/86220992 以查找“course-activity/6/2021106055443-llbs7h.mp4”为例 方法一:当前文件夹下操作 find ./ -name course-activ ...
分类:
系统相关 时间:
2021-01-08 11:16:31
阅读次数:
0
commit 476c431f07d7209bf439627008e55865ced553d9 Author: songyoulin <songyoulin@star-net.cn> Date: Tue Jan 9 15:41:17 2018 +0800 add EVS8000 logo targe ...
分类:
其他好文 时间:
2021-01-08 11:15:55
阅读次数:
0
: "${LOG_FILE:=/var/log/factory_install.log}" Shell Parameter Expansioin ${parameter:=word} If parameter is unset or null, the expansion of word is as ...
分类:
其他好文 时间:
2021-01-08 10:44:41
阅读次数:
0
Linux 实用指令之查看端口开启情况 netstat -ntlp 查看端口使用情况! netstat -ntlp | grep 80 查看具体的端口是否使用! # netstat -ntlp Active Internet connections (only servers) Proto Recv ...
分类:
系统相关 时间:
2021-01-07 12:28:02
阅读次数:
0
exists(key):确认一个key是否存在 del(key):删除一个key type(key):返回值的类型 keys(pattern):返回满足给定pattern的所有key randomkey:随机返回key空间的一个key rename(oldname, newname):将key由ol ...
分类:
其他好文 时间:
2021-01-07 12:16:59
阅读次数:
0
GPU编程和流式多处理器(四) 3.2. 单精度(32位) 单精度浮点支持是GPU计算的主力军。GPU已经过优化,可以在此数据类型上原生提供高性能,不仅适用于核心标准IEEE操作(例如加法和乘法),还适用于非标准操作(例如对先验的近似(例如sin()和log()))。32位值与整数保存在同一寄存器文 ...
分类:
其他好文 时间:
2021-01-07 12:14:43
阅读次数:
0
<script> export default { data() { return { a: 1, b: 2, c: 3, d: 4, e: { f: { g: 5 } } } }, watch: { a: function(val, oldVal) { console.log('new: %s, ...
分类:
其他好文 时间:
2021-01-07 11:49:57
阅读次数:
0