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

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
主站蜘蛛池模板: 方正县| 平利县| 博客| 长沙县| 九江市| 霸州市| 精河县| 文昌市| 梨树县| 大英县| 吉水县| 洛南县| 闵行区| 奉节县| 亳州市| 蕉岭县| 海城市| 元阳县| 志丹县| 巴林右旗| 邵阳市| 张掖市| 通河县| 莆田市| 开化县| 沁阳市| 花垣县| 西青区| 绥芬河市| 铜陵市| 南岸区| 武汉市| 理塘县| 饶平县| 望江县| 白银市| 上林县| 泰宁县| 罗甸县| 建始县| 疏附县|