but link: http://cocos2d-x.org/wiki/Cocos2d-x
shows “Supported Programming Languages” table with “JavaScript” crossed out.
It also says: “Note that Javascript bindings can’t run on Windows Phone 8 as Mozilla has no announced plans to bring SpiderMonkey to the platform. C++ and Lua can run on all platforms above.”
Now, what am I missing? Will my JS app run on WP/win or not?
I believe the difference is how you expect your app to run. If you are targeting a build for browsers (HTML & JavaScript) then it will not work.
If you are packaging it as a native windows store app then it will no longer be JavaScript but will be translated to native C++ code, then it will work.
I was wrong with this statement. The JSB needs spider monkey so even though if you create a native app it won’t work. Hopefully this will get addressed in some future version or spider monkey will get updated.