当前位置:网站首页>Summary of common error types in JS
Summary of common error types in JS
2022-07-28 22:29:00 【Crane sorrow_】
1. ReferenceError( Misquote )

function sayHi(){
console.log(age);
let age = 21;
}
sayHi()2、TypeError( Type error )

var result = (function(){
var x = 1,y = 2;
sum = x + y
return sum;
})()
result()3.RangeError: Range error

var num = 0;
function fun() {
console.log(++num)
fun()
}
fun()4.SyntaxError( Grammar mistakes )

var a = 7;
var 1num = 3;
function(){
console.log(a);
}
边栏推荐
- HCIP(15)
- MySQL installation and configuration (super detailed, simple and practical)
- Necessary for in-depth learning: split the data set, split the labels according to the split pictures, and check the interval of all marked labels
- Static details of static members
- Sword finger offer II 052. flatten binary search tree (simple binary search tree DFS)
- [LiteratureReview]Object Detection and Mapping with Bounding Box Constraints
- SQL injection less34 (post wide byte injection + Boolean blind injection)
- [Ruiji takeout project]day4 - dish management
- Lotus 1.16.0 extend sector expiration time
- 静态成员static详解
猜你喜欢

Sword finger offer II 055. Binary search tree iterator (medium binary search tree iterator)

105. Construct binary tree from preorder and inorder traversal sequence (medium binary tree DFS hash table binary tree)

HCIP(12)

HCIP(8)

Soft exam network engineer

Netease Yunxin 2022q2 product supply station, come and get your product supply plan!

Add DNS server to LAN for domain name resolution

HCIP(13)

Overall introduction of Ruiji takeout project

CDN working principle
随机推荐
openresty 请求鉴权
npm ERR code ETIMEDOUT npm ERR syscall connect npm ERR errno ETIMEDOUT npm ERR network reques...
hcip实验(14)
98. Verify binary search tree (medium binary search tree DFS)
软考网络工程师
Basic introduction of Rockwell AB PLC rslogix digital quantity IO module
How to establish a decentralized community in Web3
From Web3 to web2.5, is it backward or another way?
【CVPR 2021】Cylinder3D:用于LiDAR点云分割的圆柱体非对称3D卷积网络
HCIP(11)
SQL注入 Less42(POST型堆叠注入)
mysql8.0无法给用户授权或提示You are not allowed to create a user with GRANT的问题
HCIP(9)
普源示波器实际的使用效果怎么样
Hcip experiment (14)
Analysis notes on let (const) temporary dead zone in JS
AWK空行过滤
示波器发展史中的变化
vuejs中如何实现动态路由切换及路由的缓存
IFLYTEK written examination