rxjs api解读之range()
range(1,5)<=>[1,5] 即1,2,3,4,5
//TS
import {Observable} from "rxjs/observable"; 注意Observable这样引入会报错
//HTML
<h3>rxjs api texting</h3>
now the number is {{now}},and the array is {{number}}
实际效果
测试成功
个人使用webstorm感受:webstorm的确好用,如果你配置好的话,它绝对是首选;像我的这样就悲剧了,没运行webstorm的时候百分之36,运行之后卡爆了有木有?