for (const k in v){
 
 
 

const a=[11,22,33,44]
for(let i in a ){
console.log(i)
i=i+1
}
console.log('---')
for(const i in a ){
console.log(i)
i=i+1
}

VM64:3 0
VM64:3 1
VM64:3 2
VM64:3 3
VM64:6 ---
VM64:8 0
VM64:9 Uncaught TypeError: Assignment to constant variable.
at <anonymous>:9:2

最新文章

  1. webapi filter过滤器中获得请求的方法详情(方法名,Attributes)
  2. vbs 中文字符串
  3. PHP Date()函数详细参数
  4. JavaScript基本语法
  5. thinkphp 一个页面使用2次分页的方法
  6. 使用Parallel
  7. 45个有新意的Photoshop教程和技巧
  8. Sql Server 常用自定义函数
  9. php判断手机移动设备访问
  10. 算法导论——lec 10 图的基本算法及应用
  11. require.js实现js模块化编程(二):RequireJS Optimizer
  12. javaScript替换元素节点
  13. web api 如何通过接收文件流的方式,接收客户端及前端上传的文件
  14. ASP.NET Core微服务实战系列
  15. 软件151 王楚博 struts
  16. MySQL主从备份配置实例
  17. Angular基础(二) 组件的使用
  18. 文末有福利 | IT从业者应关注哪些技术热点?
  19. Jenkins简介
  20. phpstorm的安装和使用

热门文章

  1. 洛谷——P2205 [USACO13JAN]画栅栏Painting the Fence
  2. Topcoder SRM 664 DIV 1
  3. POJ 3368 Frequent values 线段树与RMQ解法
  4. Windows 10系统出现:“出现系统还原使用的卷影复制服务无法运行...”的问题解决
  5. Start Developing iOS Apps Today
  6. How to Log Users Login and Logout Details Through Oracle Forms
  7. novell.directory.ldap获取邮箱活动目录
  8. C++一元多项式相加
  9. ExtJs4学习(二):Dom操作
  10. ArrayList和Vector的区别?HashMap和HashTable的区别?StringBuilder、StringBuffer和String的区别?