function observe(data) {
if (!data || typeof data !== 'object') { //这里包括数组和对象 typeof [] === 'object' 为true if (!data || typfunction observe(data) {
if (!data || typeof data !== 'object') { //这里包括数组和对象 typeof [] === 'object' 为true if (!data || typ