当前位置:网站首页>Null and undefined
Null and undefined
2022-07-03 03:35:00 【Starry field meow inside】
undefined
1. Statement , Assign to
let o;
console.log(o); // undefined2. A property of the object does not exist
let obj = {}
console.log(obj.a); // undefined3. Missing parameters
function fn(a, b) {
console.log(a, b); // 4 undefined
}
fn(4);4. Method
function abcd() {
console.log("111")
}
console.log(abcd()); // undefinednull
1. Manual memory release
2. As an argument to a function ( This parameter is not an object )
3. Top of prototype chain
let obj = {};
obj1 = null;边栏推荐
- VS 2019 配置tensorRT生成engine
- 可分离债券与可转债
- Stop using system Currenttimemillis() takes too long to count. It's too low. Stopwatch is easy to use!
- 二进制流转换成字节数组
- [mathematical logic] normal form (conjunctive normal form | disjunctive normal form | major item | minor item | maximal item | minor item | principal conjunctive normal form | principal disjunctive no
- [combinatorics] basic counting principle (addition principle | multiplication principle)
- Leetcode: dynamic planning template
- User value is the last word in the competition of mobile phone market
- Hi3536C V100R001C02SPC040 交叉编译器安装
- Makefile demo
猜你喜欢

Captura下载安装及在Captura配置FFmpeg

Table structure of Navicat export database

node,npm以及yarn下载安装

Vs 2019 installation and configuration opencv

navicat 导出数据库的表结构

编译文件时报错:错误: 编码GBK的不可映射字符

Download and install node, NPM and yarn

Pytoch lightweight visualization tool wandb (local)

User value is the last word in the competition of mobile phone market

QQ小程序开发之 一些前期准备:预约开发账号、下载安装开发者工具、创建qq小程序
随机推荐
Advanced redis applications [password protection, data persistence, master-slave synchronization, sentinel mode, transactions] [not completed yet (semi-finished products)]
leetcode:动态规划模板
Applet (continuous update)
Using jasmine to monitor constructors - spying on a constructor using Jasmine
float与0比较
渤、黄海的潮汐特征
numpy之 警告VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences
Captura下载安装及在Captura配置FFmpeg
Téléchargement et installation du client Filezilla
Leetcode: dynamic planning template
Hi3536C V100R001C02SPC040 交叉编译器安装
Use three JS make a simple 3D scene
[mathematical logic] predicate logic (individual word | individual domain | predicate | full name quantifier | existence quantifier | predicate formula | exercise)
[AI practice] Application xgboost Xgbregressor builds air quality prediction model (I)
递归:一维链表和数组
ffmpeg之 一张/多张图片合成视频
docker安装及启动mysql服务
Why does thread crash not cause JVM crash
【DRM】DRM bridge驱动调用流程简单分析
QQ小程序开发之 一些前期准备:预约开发账号、下载安装开发者工具、创建qq小程序