- 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
推薦閱讀
- Android Development with Kotlin
- C++ 從入門(mén)到項(xiàng)目實(shí)踐(超值版)
- 硅谷Python工程師面試指南:數(shù)據(jù)結(jié)構(gòu)、算法與系統(tǒng)設(shè)計(jì)
- Tableau 10 Bootcamp
- Mastering openFrameworks:Creative Coding Demystified
- Service Mesh實(shí)戰(zhàn):基于Linkerd和Kubernetes的微服務(wù)實(shí)踐
- Hands-On GUI Programming with C++ and Qt5
- UML2面向?qū)ο蠓治雠c設(shè)計(jì)(第2版)
- Python商務(wù)數(shù)據(jù)分析(微課版)
- Extending Docker
- Flutter從0基礎(chǔ)到App上線
- HTML5 Game Development by Example:Beginner's Guide(Second Edition)
- Real-time Analytics with Storm and Cassandra
- VB語(yǔ)言程序設(shè)計(jì)教程(第2版)
- Learning ClojureScript