var obj=this.convert(index); for(var i in obj){ var property=obj[i]; console.log("iiiiiiiiiii"+i) console.log(obj[i]) }