js.js是一个用JavaScript编写的JavaScript解释器Insteadoftryingtocreateaninterpreterfromscratch,SpiderMonkeyiscompiledintoLLVMandthenemscriptentranslatestheoutputintoJavaScript.示例代码:varjsObjs=JSJS.Init();varrval=JSJS.EvaluateScript(jsObjs.cx,jsObjs.glob,"11");vard=JSJS.ValueToNumber(jsObj