書名: Mastering Immutable.js作者名: Adam Boduch本章字數(shù): 32字更新時間: 2021-07-08 10:30:08
Lists of values
You can use the of() method to create lists of values as follows:
const myList = List.of(1, 2, 3);
console.log('myList', myList.toJS());
// -> myList [ 1, 2, 3 ]
推薦閱讀
- C#完全自學(xué)教程
- EPLAN實戰(zhàn)設(shè)計
- Mastering KnockoutJS
- 從Excel到Python:用Python輕松處理Excel數(shù)據(jù)(第2版)
- C語言程序設(shè)計同步訓(xùn)練與上機指導(dǎo)(第三版)
- Protocol-Oriented Programming with Swift
- Yii Project Blueprints
- 計算機應(yīng)用基礎(chǔ)案例教程
- HoloLens與混合現(xiàn)實開發(fā)
- SQL Server 2008 R2數(shù)據(jù)庫技術(shù)及應(yīng)用(第3版)
- Orleans:構(gòu)建高性能分布式Actor服務(wù)
- Slick2D Game Development
- C++ Game Development Cookbook
- Learning HTML5 by Creating Fun Games
- Django 3 Web應(yīng)用開發(fā)從零開始學(xué)(視頻教學(xué)版)