- 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
推薦閱讀
- ASP.NET Web API:Build RESTful web applications and services on the .NET framework
- Mastering Spring MVC 4
- 少年輕松趣編程:用Scratch創作自己的小游戲
- 程序員考試案例梳理、真題透解與強化訓練
- Hands-On Microservices with Kotlin
- Mastering KnockoutJS
- Serverless架構
- QGIS By Example
- Mastering Xamarin.Forms(Second Edition)
- GameMaker Essentials
- C++程序設計教程
- 分布式架構原理與實踐
- Java程序設計教程
- Web前端開發技術:HTML、CSS、JavaScript
- React and React Native