How do browsers parse and interpret JavaScript code?

后端 未结 2 1422
臣服心动
臣服心动 2020-12-31 05:12

How does a browser go about parsing JavaScript it loads from files or inline? I am trying to get at the core of what a browser does. What happens when a page loads and it ha

2条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-31 05:31

    This is defined in the ECMAScript standard.

    First the source text (the stuff between the

提交回复
热议问题