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

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
主站蜘蛛池模板: 安国市| 贵阳市| 辽源市| 北票市| 申扎县| 大竹县| 安化县| 大宁县| 会宁县| 廉江市| 娄底市| 奎屯市| 白山市| 普安县| 榆社县| 城步| 廊坊市| 容城县| 科技| 吉木乃县| 克什克腾旗| 施秉县| 正镶白旗| 河间市| 西乡县| 石门县| 吉安县| 贵州省| 米泉市| 苏州市| 且末县| 松江区| 南雄市| 开平市| 饶平县| 乐至县| 望谟县| 腾冲县| 曲麻莱县| 孙吴县| 政和县|