Skip to content

这点应该描述有点不准确 #4

Description

@zybieku

感谢大佬的分享,受益颇多!

发现这里描述应该有点问题:

image

  • js完全可以用像java一样设计成多线程
  • 多线程语言完全可以用来dom操作,视图更新的,只不过要区分 main线程work线程 的概念,比如Androidios 之类的原生开发

个人觉得 应该是js 最初的定位和脚本设计,导致了他就是单线程的特性

如今的js !
也有work 的概念了不是嘛

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions