当前位置:网站首页>setInterval定时器在ie不生效原因之一:回调的是箭头函数
setInterval定时器在ie不生效原因之一:回调的是箭头函数
2022-07-02 22:59:00 【前端切图仔Zz】
场景:
使用了定时器,在谷歌生效,但是在ie浏览器不生效。在ie浏览器检查元素发现控制台有以下报错:
点击错误行,到调试程序页面,可见已经指出了错误的位置
将箭头函数改为function定义的函数
则不再报错
边栏推荐
- 实用系列丨免费可商用视频素材库
- Bloom filter
- MySQL advanced learning notes (4)
- 35页危化品安全管理平台解决方案2022版
- Digital twin smart factory develops digital twin factory solutions
- Architecture: load balancing
- Is there a specific format for English papers?
- 容器运行时分析
- Chinatelecom has maintained a strong momentum in the mobile phone user market, but China Mobile has opened a new track
- The privatization deployment of SaaS services is the most efficient | cloud efficiency engineer points north
猜你喜欢
接口差异测试——Diffy工具
Explain in detail the process of realizing Chinese text classification by CNN
直击产业落地!飞桨重磅推出业界首个模型选型工具
Digital twin smart factory develops digital twin factory solutions
The privatization deployment of SaaS services is the most efficient | cloud efficiency engineer points north
带角度的检测框 | 校准的深度特征用于目标检测(附实现源码)
实用系列丨免费可商用视频素材库
Luogu_ P1149 [noip2008 improvement group] matchstick equation_ Enumeration and tabulation
Additional: token; (don't read until you finish writing...)
Interpretation of new plug-ins | how to enhance authentication capability with forward auth
随机推荐
有哪些比较推荐的论文翻译软件?
leetcode 650. 2 Keys Keyboard 只有两个键的键盘(中等)
Optimization of streaming media technology
How to write the design scheme of the thesis?
Additional: token; (don't read until you finish writing...)
论文的英文文献在哪找(除了知网)?
How much do you know about synchronized?
Returns the size of the largest binary search subtree in a binary tree
Mutual exclusion and synchronization of threads
请问大家在什么网站上能查到英文文献?
Xcode real machine debugging
经济学外文文献在哪查?
The privatization deployment of SaaS services is the most efficient | cloud efficiency engineer points north
SQL query statement parameters are written successfully
Leetcode DP three step problem
MySQL advanced learning notes (III)
Talk with the interviewer about the pit of MySQL sorting (including: duplicate data problem in order by limit page)
TypeError: Cannot read properties of undefined (reading ***)
CMake基本使用
Go custom sort