luobin
Results
2
comments of
luobin
楼主,我在IE9以下的浏览器中测试发现,for..in遍历对象属性时,toString是可以alert出来的啊,你是怎么测试的呢? ```JS var obj = { toString: null } for(key in obj) { alert(key) } ```
> ```js > 'worklet' > ``` > > ```js > > function helloWorklet() { > > 'worklet'; //'worklet'声明该函数为work函数,可以在js线程和UI线程中调用 > > console.log('hello worklet'); > > } > > > > useEffect(()...