Array

@ajithkrr Don’t forget, that if you don’t have a rating in the array, then the obj will be undefined . Before you use obj , you should make sure that it has a value.