- Mastering Immutable.js
- Adam Boduch
- 71字
- 2021-07-08 10:30:06
Lists
A list is like a JavaScript array. It's an indexed collection, meaning that the same type of indexes that you would use with an array will also work with lists. The notation is different, though—you use methods to get and set data instead of the [] notation, as shown here:
import { List } from 'immutable';
const myList = List();
console.log('List', myList instanceof List);
// -> List true
推薦閱讀
- 程序員修煉之道:程序設計入門30講
- Visual Basic程序設計(第3版):學習指導與練習
- HTML5游戲開發案例教程
- 深入淺出RxJS
- Oracle JDeveloper 11gR2 Cookbook
- Learning R for Geospatial Analysis
- C和C++游戲趣味編程
- Couchbase Essentials
- Kotlin極簡教程
- Python語言科研繪圖與學術圖表繪制從入門到精通
- 從Power BI到Analysis Services:企業級數據分析實戰
- Angular Design Patterns
- Android智能手機APP界面設計實戰教程
- C++面向對象程序設計
- Visual C++程序開發范例寶典