- Mastering Immutable.js
- Adam Boduch
- 63字
- 2021-07-08 10:30:06
Ordered maps
An ordered map is just like a map except that the order in which items are added is preserved. This type of map behaves like a list, only instead of looking up values using numerical indexes, you can use any key you like:
import { OrderedMap } from 'immutable';
const myOrderedMap = OrderedMap();
console.log('OrderedMap', myOrderedMap instanceof OrderedMap);
// -> OrderedMap true
推薦閱讀
- 精通Nginx(第2版)
- C/C++算法從菜鳥到達人
- ASP.NET Core 2 and Vue.js
- Java開發入行真功夫
- jQuery開發基礎教程
- Building an RPG with Unity 2018
- Kotlin從基礎到實戰
- Getting Started with Laravel 4
- C語言程序設計
- Java程序設計案例教程
- Mastering Concurrency Programming with Java 9(Second Edition)
- MongoDB Cookbook(Second Edition)
- Neo4j 3.x入門經典
- Offer來了:Java面試核心知識點精講(框架篇)
- Python繪圖指南:分形與數據可視化(全彩)