🔍 Detector.js 交互测试面板
🔧 函数调用测试
api = {
add: (a, b) => a + b,
fetchData: async (id) => Promise.resolve(`数据${id}`),
Calculator: function(initial) { this.value = initial; }
}
🌊 深层对象访问
deepObj = {
user: {
profile: {
settings: { theme: "暗色", lang: "zh" }
}
}
}