本文介绍了是javascript编译还是只是解释?如果解释,提升功能如何可用。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是编译JavaScript还是只是解释。



如果它只是一种解释语言,它不应该支持像提升这样的功能,因为仅支持提升功能如果执行引擎知道环境。



如果只是解释代码,环境信息将无法使用



什么我试过了:



寻找理论方面

Is JavaScript Compiled or just Interpreted.

In case it is just an Interpreted Language, it should not support feature like Hoisting, since feature of Hoisting is supported only if the execution Engine know about the Environment.

In case it just Interprets the Code, Environment Information would not be available

What I have tried:

Looking for the Theoretical aspect

推荐答案



这篇关于是javascript编译还是只是解释?如果解释,提升功能如何可用。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

05-27 13:52
查看更多