官术网_书友最值得收藏!

Maps

A map is like a JavaScript object. It's a keyed collection, meaning that the same types of keys that you would use with JavaScript objects also work with maps. Immutable.js maps are also like native JavaScript Map instances in that they can use anything as a key—not just strings:

import { Map } from 'immutable';
const myMap = Map();
console.log('Map', myMap instanceof Map);
// -> Map true
主站蜘蛛池模板: 丽江市| 镇沅| 梁平县| 门源| 尉氏县| 涞水县| 霍城县| 常宁市| 四平市| 鹤庆县| 腾冲县| 通榆县| 岳阳县| 昔阳县| 大足县| 招远市| 成武县| 陇南市| 富锦市| 长沙县| 宣威市| 宜川县| 大悟县| 改则县| 交口县| 德安县| 谢通门县| 彭阳县| 清河县| 玉林市| 郴州市| 普宁市| 青神县| 乌兰察布市| 都兰县| 涟水县| 电白县| 扎囊县| 水富县| 永胜县| 织金县|