- 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
推薦閱讀
- Learning Scala Programming
- Vue.js 3.x快速入門
- HTML5移動Web開發技術
- CockroachDB權威指南
- JavaScript修煉之道
- C# Programming Cookbook
- R語言編程指南
- Java Web程序設計
- Java Web開發技術教程
- Hands-On Reinforcement Learning with Python
- SQL Server從入門到精通(第3版)
- C++面向對象程序設計習題解答與上機指導(第三版)
- Python Machine Learning Blueprints:Intuitive data projects you can relate to
- 跟戴銘學iOS編程:理順核心知識點
- Python編程快速上手2