<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>JavaScript on Freestyle Programmer</title>
    <link>https://whl1729.cn/tags/javascript/</link>
    <description>Recent content in JavaScript on Freestyle Programmer</description>
    <generator>Hugo</generator>
    <language>zh-CN</language>
    <lastBuildDate>Mon, 17 Jul 2023 00:00:00 +0800</lastBuildDate>
    <atom:link href="https://whl1729.cn/tags/javascript/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>经验教训 072：在 JavaScript 中通过 SSH 登录远端设备执行 echo 命令返回双引号时要转义两次</title>
      <link>https://whl1729.cn/posts/2023-07-17-ex072-escape-twice-to-return-double-quotes-from-ssh/</link>
      <pubDate>Mon, 17 Jul 2023 00:00:00 +0800</pubDate>
      <guid>https://whl1729.cn/posts/2023-07-17-ex072-escape-twice-to-return-double-quotes-from-ssh/</guid>
      <description>JavaScript 与 bash 对双引号的转义机制</description>
    </item>
    <item>
      <title>经验教训 036：调用包含 this 的 JS 回调函数时要显式绑定</title>
      <link>https://whl1729.cn/posts/2022-08-22-ex036-use-explicit-binding-in-callback-function/</link>
      <pubDate>Mon, 22 Aug 2022 00:00:00 +0800</pubDate>
      <guid>https://whl1729.cn/posts/2022-08-22-ex036-use-explicit-binding-in-callback-function/</guid>
      <description>JS this 绑定的 4 条规则</description>
    </item>
    <item>
      <title>使用 Mocha 来编写 JavaScript 代码测试用例</title>
      <link>https://whl1729.cn/posts/2022-07-12-write-testcases-with-mocha/</link>
      <pubDate>Tue, 12 Jul 2022 17:31:31 +0800</pubDate>
      <guid>https://whl1729.cn/posts/2022-07-12-write-testcases-with-mocha/</guid>
      <description>Mocha 和 Chai 的基本用法和 FAQ</description>
    </item>
    <item>
      <title>经验教训 030：JavaScript 正则表达式的点号不会匹配换行符</title>
      <link>https://whl1729.cn/posts/2022-07-11-ex030-the-dot-does-not-match-newline-in-js/</link>
      <pubDate>Mon, 11 Jul 2022 00:00:00 +0800</pubDate>
      <guid>https://whl1729.cn/posts/2022-07-11-ex030-the-dot-does-not-match-newline-in-js/</guid>
      <description>如何正确地匹配任意字符</description>
    </item>
    <item>
      <title>经验教训 029：由于镜像配置有误导致 electron 安装失败</title>
      <link>https://whl1729.cn/posts/2022-07-05-ex029-fail-to-install-electron-due-to-error-mirror/</link>
      <pubDate>Tue, 05 Jul 2022 00:00:00 +0800</pubDate>
      <guid>https://whl1729.cn/posts/2022-07-05-ex029-fail-to-install-electron-due-to-error-mirror/</guid>
      <description>JavaScript 类的普通函数如何调用 static method</description>
    </item>
    <item>
      <title>经验教训 028：不能通过 this 来直接调用 js static method</title>
      <link>https://whl1729.cn/posts/2022-06-16-ex028-fail-to-call-js-static-method-with-this/</link>
      <pubDate>Thu, 16 Jun 2022 00:00:00 +0800</pubDate>
      <guid>https://whl1729.cn/posts/2022-06-16-ex028-fail-to-call-js-static-method-with-this/</guid>
      <description>JavaScript 类的普通函数如何调用 static method</description>
    </item>
    <item>
      <title>经验教训 007：JavaScript 不支持 keyword arguments 语法</title>
      <link>https://whl1729.cn/posts/2022-04-24-ex007-js-does-not-support-keyword-arguments/</link>
      <pubDate>Sun, 24 Apr 2022 00:00:00 +0800</pubDate>
      <guid>https://whl1729.cn/posts/2022-04-24-ex007-js-does-not-support-keyword-arguments/</guid>
      <description>只有 Python 支持 keyword arguments 语法</description>
    </item>
    <item>
      <title>mocha 忽略未定义变量错误问题定位</title>
      <link>https://whl1729.cn/posts/2022-04-07-mocha-unhandled-rejections/</link>
      <pubDate>Thu, 07 Apr 2022 10:46:10 +0800</pubDate>
      <guid>https://whl1729.cn/posts/2022-04-07-mocha-unhandled-rejections/</guid>
      <description>JavaScript 代码的异常是如何被拦截的</description>
    </item>
  </channel>
</rss>
