我最近发现,在Python中,您可以这样做:if 3 in array:然后,我想:“嗯,为什么它在Ruby中是不同的呢?if 3 in array比if array.include? 3更易读。”然后,我意识到Ruby是纯OOP的,这种方法是基于关键字的。array = [1, 2, 3, 4]
prin
我试着用“角度框架”学习打字稿。我想通过一个很好的起点来处理API数据来学习一些基础知识。这是我从APi 获得的数据
<ons-button (click)="getToplistByTotalVolume()">Aktualisieren</ons-button>
<ons-list id="crypto-container" *ngFor="let toplistByTotalVolumeItem of toplistByTotalVolume; index a