Skip to content

Operation Environment

Mini-game running environment

Mini-games run on multiple platforms: iOS (iPhone/iPad) client, Android client, and developer tools for debugging.

The script execution environment of each platform is different:

  • On iOS, the JavaScript code of the mini-game runs in JavaScriptCore;
  • On Android, the JavaScript code of the mini-game runs in V8;V8
  • In the development tools, the JavaScript code of the mini-game runs in NW.js.NW.js

Platform differences

Although the running environments are very similar, there are still some differences:

Inconsistent JavaScript syntax and API support: In terms of syntax, developers can circumvent it by turning on the ES6 to ES5 function; in addition, the basic library of the mini-game has built-in necessary Polyfills to make up for the API differences.For more information, please see

Developer tools are only for debugging, and the final performance is subject to the client.