<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>小技巧 on 疯狂的技术宅</title><link>https://fe-tech.viewnode.com/tags/%E5%B0%8F%E6%8A%80%E5%B7%A7/</link><description>Recent content in 小技巧 on 疯狂的技术宅</description><generator>Hugo -- gohugo.io</generator><language>zh-CN</language><lastBuildDate>Wed, 06 May 2020 10:00:00 +0800</lastBuildDate><atom:link href="https://fe-tech.viewnode.com/tags/%E5%B0%8F%E6%8A%80%E5%B7%A7/index.xml" rel="self" type="application/rss+xml"/><item><title>10 个实用的 JavaScript 小技巧</title><link>https://fe-tech.viewnode.com/post/202005/06/</link><pubDate>Wed, 06 May 2020 10:00:00 +0800</pubDate><guid>https://fe-tech.viewnode.com/post/202005/06/</guid><description>我一直在寻找提高效率的新方法。 JavaScript 总是充满令人出乎意料的惊喜。 1. 将 arguments 对象转换为数组 arguments 对象是函数内部可访问的类似数组的对象，其中包含传递给该函数</description></item><item><title>9 个强大的 JavaScript 小技巧</title><link>https://fe-tech.viewnode.com/post/201912/11/</link><pubDate>Wed, 11 Dec 2019 10:00:00 +0800</pubDate><guid>https://fe-tech.viewnode.com/post/201912/11/</guid><description>以下是 9 个功能强大的 JavaScript hack 技巧。 1. 全部替换 我们知道 string.replace() 函数仅替换第一次出现的情况。 你可以通过在正则表达式的末尾添加 /g 来替换所有出现的内容。 var example =</description></item></channel></rss>