JavaScript support
Running restrictions
For security reasons, dynamic execution of JS code is not allowed in Mini Programs, i.e.
- JS code execution using
evalis not supported - The use of
new Functionto create functions is not supported- except for
new Function('return this').
- except for
ECMAScript Support
Support for ES6 language features