cocosx2d vs cocosx2dhtml5

cocosx2d vs cocosx2dhtml5
0.0 0


Whats the difference between these two if I use javascript for both?

edit: im planning on building for web, android, and maybe ios


From the official website:
On top of the framework provided by Cocos2d-html5, games can be written in Javascript, using API that is COMPLETELY COMPATIBLE with that of Cocos2d-x javascript binding