json stringify empties the array in js code example Example: json stringify empties the array in js var count_review={};