Announcement: Tencent Cloud Mini Program Platform Renamed to Tencent Cloud Super App as a Service on January 2, 2025
Console Updates
Android SDK Updates
iOS SDK Updates
Flutter SDK Updates
IDE Updates
Base Library Updates
eval is not supported for executing JavaScript code.new Function is not supported for creating functions.setTimeout. This means that tasks triggered by Promise are treated as regular tasks rather than microtasks, leading to timing differences from the standard on iOS 15 and below.var arr = []setTimeout(() => arr.push(6), 0)arr.push(1)const p = new Promise(resolve => {arr.push(2)resolve()})arr.push(3)p.then(() => arr.push(5))arr.push(4)setTimeout(() => arr.push(7), 0)setTimeout(() => {// Expected output: [1, 2, 3, 4, 5, 6, 7]// On iOS 15 mini game environment, the output will be: [1, 2, 3, 4, 6, 5, 7]console.log(arr)}, 1000)
Was this page helpful?
You can also Contact sales or Submit a Ticket for help.
Help us improve! Rate your documentation experience in 5 mins.
Feedback