日韩无码专区无码一级三级片|91人人爱网站中日韩无码电影|厨房大战丰满熟妇|AV高清无码在线免费观看|另类AV日韩少妇熟女|中文日本大黄一级黄色片|色情在线视频免费|亚洲成人特黄a片|黄片wwwav色图欧美|欧亚乱色一区二区三区

RELATEED CONSULTING
相關(guān)咨詢
選擇下列產(chǎn)品馬上在線溝通
服務(wù)時(shí)間:8:30-17:00
你可能遇到了下面的問題
關(guān)閉右側(cè)工具欄

新聞中心

這里有您想知道的互聯(lián)網(wǎng)營銷解決方案
創(chuàng)新互聯(lián)小程序教程:微信小程序 JavaScript支持情況

JavaScript 支持情況

運(yùn)行限制

基于安全考慮,小程序中不支持動(dòng)態(tài)執(zhí)行 JS 代碼,即:

  • 不支持使用 eval 執(zhí)行 JS 代碼
  • 不支持使用 new Function 創(chuàng)建函數(shù)

客戶端 ES6 API 支持情況

微信小程序已經(jīng)支持了絕大部分的 ES6 API,已支持的 API 如下(部分API依賴系統(tǒng)版本):

StringiOS8iOS9iOS10+Android
codePointAt
normalize
includes
startsWith
endsWith
repeat
String.fromCodePoint
ArrayiOS8iOS9iOS10+Android
copyWithin
find
findIndex
fill
entries
keys
values
includes
Array.from
Array.of
NumberiOS8iOS9iOS10+Android
isFinite
isNaN
parseInt
parseFloat
isInteger
EPSILON
isSafeInteger
MathiOS8iOS9iOS10+Android
trunc
sign
cbrt
clz32
imul
fround
hypot
expm1
log1p
log10
log2
sinh
cosh
tanh
asinh
acosh
atanh
ObjectiOS8iOS9iOS10+Android
is
assign
getOwnPropertyDescriptor
keys
getOwnPropertyNames
getOwnPropertySymbols

OtheriOS8iOS9iOS10+Android
Symbol
Set
Map
Proxy
Reflect
Promise

網(wǎng)站名稱:創(chuàng)新互聯(lián)小程序教程:微信小程序 JavaScript支持情況
分享路徑:http://m.5511xx.com/article/codgcce.html