<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>map on 疯狂的技术宅</title><link>https://fe-tech.viewnode.com/tags/map/</link><description>Recent content in map on 疯狂的技术宅</description><generator>Hugo -- gohugo.io</generator><language>zh-CN</language><lastBuildDate>Fri, 11 Oct 2019 10:00:00 +0800</lastBuildDate><atom:link href="https://fe-tech.viewnode.com/tags/map/index.xml" rel="self" type="application/rss+xml"/><item><title>用 map 代替纯 JavaScript 对象</title><link>https://fe-tech.viewnode.com/post/201910/11/</link><pubDate>Fri, 11 Oct 2019 10:00:00 +0800</pubDate><guid>https://fe-tech.viewnode.com/post/201910/11/</guid><description>JavaScript 普通对象 {key: 'value'} 可用于保存结构化数据。 但是我发现很烦人的一件事：对象的键必须是字符串（或很少使用的符号）。 如果用数字作键会怎样？在这种情况下没</description></item><item><title>JavaScript 的 Map 指南</title><link>https://fe-tech.viewnode.com/post/201909/25/</link><pubDate>Wed, 25 Sep 2019 11:00:00 +0800</pubDate><guid>https://fe-tech.viewnode.com/post/201909/25/</guid><description>在JavaScript中，Map 是存储键/值对的对象。Map 类似于一般 JavaScript 对象 ，但对象与 Map 之间一些关键的差异 使 Map 很有用。 Map 与 Object 如果你要创建一个</description></item></channel></rss>