FORK ME

console 命令行工具 X clear

                    
>
console
var obj = {
	shops:[
	{
		name: 1
	}
	]
}

for(var key in obj){
	console.log(key)
  for(var i = 0; i < obj[key].length; i++){
  	for(var j in obj[key][i]){
    	console.log(key + '['+ i +'].' + j)
    }
  }
}