当前位置:网站首页>Uncaught SyntaxError: Octal literals are not allowed in strict mode.
Uncaught SyntaxError: Octal literals are not allowed in strict mode.
2022-07-25 13:29:00 【Psychosis】
js Console error :Uncaught SyntaxError: Octal literals are not allowed in strict mode.
Code scenario :

The reason for the error is that :JS Strict mode prohibits the use of eight Base number Literal , In my if Used in judgment 0 At the beginning 001, And not a string .
Change it to the following :

This solves the problem of error reporting !
reminder : During development, we should write code strictly according to the data type negotiated with the background
边栏推荐
- 6.27 uniapp项目历程
- The migration of arm architecture to alsa lib and alsa utils is smooth
- Concurrent programming - memory model JMM
- 【GCN-RS】Towards Representation Alignment and Uniformity in Collaborative Filtering (KDD‘22)
- 深度学习的训练、预测过程详解【以LeNet模型和CIFAR10数据集为例】
- Shell common script: judge whether the file of the remote host exists
- Hcip day 8 notes
- hcip第七天笔记
- 卷积神经网络模型之——LeNet网络结构与代码实现
- R语言GLM广义线性模型:逻辑回归、泊松回归拟合小鼠临床试验数据(剂量和反应)示例和自测题
猜你喜欢

Numpy简介和特点(一)

Excel record macro

卷积神经网络模型之——LeNet网络结构与代码实现

C#基础学习(二十三)_窗体与事件

【服务器数据恢复】HP EVA服务器存储RAID信息断电丢失的数据恢复

Generate SQL script file by initializing the latest warehousing time of vehicle attributes

2022全球开发者中,你的收入排多少?

【GCN】《Adaptive Propagation Graph Convolutional Network》(TNNLS 2020)

好友让我看这段代码

0710RHCSA
随机推荐
Hcip seventh day notes
ESP32-C3 基于Arduino框架下Blinker点灯控制10路开关或继电器组
mujoco+spinningup进行强化学习训练快速入门
0715RHCSA
Prepare for 2022 csp-j1 2022 csp-s1 preliminaries video set
备战2022 CSP-J1 2022 CSP-S1 初赛 视频集
0715RHCSA
卷积神经网络模型之——VGG-16网络结构与代码实现
Common operations for Yum and VIM
【GCN-RS】Region or Global? A Principle for Negative Sampling in Graph-based Recommendation (TKDE‘22)
业务可视化-让你的流程图'Run'起来(3.分支选择&跨语言分布式运行节点)
剑指offer专项突击版第10天
Excel add key run macro
Shell common script: get the IP address of the network card
hcip第十天笔记
安装mujoco报错:distutils.errors.DistutilsExecError: command ‘gcc‘ failed with exit status 1
OAuth, JWT, oidc, you mess me up
互斥锁、自旋锁、读写锁……理清它们的区别和应用
Canvas判断内容为空
0713RHCSA