Se devi popolare un array devi usare push titolo.push(data) ritenendo data un array