What version of JavaScript does Titanium use?

2019-06-18 16:17发布

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条回答
虎瘦雄心在
2楼-- · 2019-06-18 16:36

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.

查看更多
登录 后发表回答