关于ecmascript spec一个地方不太理解

http://www.ecma-international...
里面有一句话不太理解,刚看这东西,加上js基础也不行
The Completion type is a Record used to explain the runtime propagation of values and control flow such as the behaviour of statements (break,continue,returnandthrow) that perform nonlocal transfers of control.

解释关于控制转移到外部的语句
但是continue好像并没有把控制转移到外部啊,这个转移到外部应该怎么理解,哪位大神指导一下

阅读 1.6k
1 个回答

continue 可以带 label 的,可以向外跳好几层,并不只是局限于当前的(循环)语句。

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题