# Object wx.getExptInfoSync(Array.<string> keys)
Start from base library version 2.14.4. Please remaining backward compatible.
with Promise style call: Not supported
Mini Program plugin: Not supported
Given the experimental parameter array, get the corresponding experimental parameter values
# parameter
# Array.<string> keys
Array of experimental parameters, if not filled, get all experimental parameters
# Return value
# Object
Result object, key For incoming keys Items in, value For parameter values
# prompt
Suppose the experimental parameters are color
, size
call wx.getExptInfoSync() Will return {color:'#fff',size:20}
Similar results
and wx.getExptInfoSync(['color']) Will only return {color:'#fff'}