- 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
推薦閱讀
- C++程序設計教程
- Designing Machine Learning Systems with Python
- C語言程序設計實踐教程(第2版)
- Advanced Machine Learning with Python
- Learning PostgreSQL
- Visual Basic程序開發(學習筆記)
- C語言程序設計
- 面向STEM的Scratch創新課程
- 機器人Python青少年編程開發實例
- Learning Unreal Engine Android Game Development
- Laravel Application Development Blueprints
- OpenCV with Python Blueprints
- 深入理解Kafka:核心設計與實踐原理
- Java 9:Building Robust Modular Applications
- 精通Oracle 12c 數據庫管理