What version of JavaScript does Titanium use?

假装没事ソ 提交于 2020-01-03 09:56:11

问题


I'm trying to find out what features of JavaScript I can use in Titanium Appcelerator. I've noticed that it has both forEach and map on Arrays, so I guess it's JavaScript language version is least 1.6 (in MDCs's terms). But does it reach further?


回答1:


I'm on an Appcelerator Titanium webinar this morning and I asked your question.

Here is their answer:

  • Not sure of the exact version (e.g., 1.7 or 1.8)
  • Using Rhino Javascript interpreter on Android
  • Using Webkit Javascript interpreter on the iPhone

So you can basically figure the answer out (exact Javascript version) based on these answers, but the person leading the call (Kevin Whinnery) didn't know the answer off the top of his head.



来源:https://stackoverflow.com/questions/3369429/what-version-of-javascript-does-titanium-use

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!