So speichern Sie Variable in lokaler Speicherangualur
console.log(localStorage.getItem('dataSource'));
Courageous Copperhead
console.log(localStorage.getItem('dataSource'));
localStorage.setItem('dataSource', this.dataSource.length);