- Mastering Immutable.js
- Adam Boduch
- 61字
- 2021-07-08 10:30:07
Ordered sets
An ordered set is just like a set. It doesn't allow duplicate values, but it does maintain the iteration order. This works the same way as with an ordered map—the iteration order is the same as the insertion order:
import { OrderedSet } from 'immutable';
const myOrderedSet = OrderedSet();
console.log('OrderedSet', myOrderedSet instanceof OrderedSet);
// -> OrderedSet true
推薦閱讀
- DB2 V9權(quán)威指南
- Java程序設(shè)計(慕課版)
- Designing Machine Learning Systems with Python
- What's New in TensorFlow 2.0
- C/C++算法從菜鳥到達(dá)人
- Rake Task Management Essentials
- Java加密與解密的藝術(shù)(第2版)
- 編寫高質(zhì)量代碼:改善Python程序的91個建議
- Visual Basic程序設(shè)計實(shí)驗(yàn)指導(dǎo)(第4版)
- SQL基礎(chǔ)教程(視頻教學(xué)版)
- Oracle JDeveloper 11gR2 Cookbook
- 程序設(shè)計基礎(chǔ)教程:C語言
- Extending Puppet(Second Edition)
- 深入淺出Go語言編程
- Web程序設(shè)計:ASP.NET(第2版)