<?xml version="1.0" encoding="gbk"?>
<rss version="2.0">
  <channel>
    <title>firemail - javascript</title>
    <link>http://firemail.wang:8088/forum.php?mod=forumdisplay&amp;fid=67</link>
    <description>Latest 20 threads of javascript</description>
    <copyright>Copyright(C) firemail</copyright>
    <generator>Discuz! Board by Comsenz Inc.</generator>
    <lastBuildDate>Wed, 03 Jun 2026 10:18:16 +0000</lastBuildDate>
    <ttl>60</ttl>
    <image>
      <url>http://firemail.wang:8088/static/image/common/logo_88_31.gif</url>
      <title>firemail</title>
      <link>http://firemail.wang:8088/</link>
    </image>
    <item>
      <title>最全面的65条最常用正则表达式</title>
      <link>http://firemail.wang:8088/forum.php?mod=viewthread&amp;tid=581</link>
      <description><![CDATA[]]></description>
      <category>javascript</category>
      <author>jimu</author>
      <pubDate>Thu, 07 Jan 2016 14:22:26 +0000</pubDate>
    </item>
    <item>
      <title>对象遍历</title>
      <link>http://firemail.wang:8088/forum.php?mod=viewthread&amp;tid=542</link>
      <description><![CDATA[遍历数组：
ES6提供三个新的方法——entries()，keys()和values()——用于遍历数组。它们都返回一个遍历器对象（《Iterator》），可以用for...of循环进行遍历，唯一的区别是keys()是对键名的遍历、values()是对键值的遍历，entries()是对键值对的遍历。

遍历器（Ite ...]]></description>
      <category>javascript</category>
      <author>hechengjin</author>
      <pubDate>Wed, 06 Jan 2016 08:45:06 +0000</pubDate>
    </item>
    <item>
      <title>Javascript 严格模式</title>
      <link>http://firemail.wang:8088/forum.php?mod=viewthread&amp;tid=258</link>
      <description><![CDATA[一、概述除了正常运行模式，ECMAscript 5添加了第二种运行模式：\&quot;严格模式\&quot;（strict mode）。顾名思义，这种模式使得Javascript在更严格的条件下运行。设立\&quot;严格模式\&quot;的目的，主要有以下几个：　　- 消除Javascript语法的一些不合理、不严谨之处，减少一些怪异行为;
　 ...]]></description>
      <category>javascript</category>
      <author>jimu</author>
      <pubDate>Wed, 09 Dec 2015 15:34:48 +0000</pubDate>
    </item>
    <item>
      <title>这两种定义方法的区别</title>
      <link>http://firemail.wang:8088/forum.php?mod=viewthread&amp;tid=256</link>
      <description><![CDATA[]]></description>
      <category>javascript</category>
      <author>hechengjin</author>
      <pubDate>Wed, 09 Dec 2015 06:35:45 +0000</pubDate>
    </item>
    <item>
      <title>eval 函数</title>
      <link>http://firemail.wang:8088/forum.php?mod=viewthread&amp;tid=254</link>
      <description><![CDATA[eval(String) 函数可计算某个字符串，并执行其中的的 JavaScript 代码。返回值通过计算 string 得到的值（如果有的话）。说明该方法只接受原始字符串作为参数，如果 string 参数不是原始字符串，那么该方法将不作任何改变地返回。因此请不要为 eval() 函数传递 String  ...]]></description>
      <category>javascript</category>
      <author>jimu</author>
      <pubDate>Tue, 08 Dec 2015 16:07:43 +0000</pubDate>
    </item>
    <item>
      <title>spawn</title>
      <link>http://firemail.wang:8088/forum.php?mod=viewthread&amp;tid=112</link>
      <description><![CDATA[const { Task: { spawn } } = require(\&quot;resource://gre/modules/Task.jsm\&quot;);
create: function(tableName, tableInfo) {  
    let self = this;
    return spawn(function*(){
      while (true) {
        try {
          return yield self.db[tableName].a ..]]></description>
      <category>javascript</category>
      <author>hechengjin</author>
      <pubDate>Mon, 02 Nov 2015 09:24:25 +0000</pubDate>
    </item>
    <item>
      <title>file</title>
      <link>http://firemail.wang:8088/forum.php?mod=viewthread&amp;tid=107</link>
      <description><![CDATA[Io.IID_FilePicker = \'@mozilla.org/filepicker;1\';
    Io.IID_LocalFile = \'@mozilla.org/file/local;1\';
    Io.IID_InSteam = \'@mozilla.org/network/file-input-stream;1\';
    Io.IID_InSteamConvert = \'@mozilla.org/intl/converter-input-stream;1\';
 ..]]></description>
      <category>javascript</category>
      <author>hechengjin</author>
      <pubDate>Thu, 22 Oct 2015 12:16:03 +0000</pubDate>
    </item>
    <item>
      <title>JSON</title>
      <link>http://firemail.wang:8088/forum.php?mod=viewthread&amp;tid=103</link>
      <description><![CDATA[1.JSON.parse()和JSON.stringify()

parse用于从一个字符串中解析出json对象,如var str = \'{\&quot;name\&quot;:\&quot;huangxiaojian\&quot;,\&quot;age\&quot;:\&quot;23\&quot;}\'
结果：JSON.parse(str)
Object


[*]age: \&quot;23\&quot;
[*]name: \&quot;huangxiaojian\&quot;
[*]__proto__: Object


注意：单引号写在{}外，每 ...]]></description>
      <category>javascript</category>
      <author>hechengjin</author>
      <pubDate>Tue, 20 Oct 2015 15:29:30 +0000</pubDate>
    </item>
    <item>
      <title>Javascript异步编程的4种方法</title>
      <link>http://firemail.wang:8088/forum.php?mod=viewthread&amp;tid=102</link>
      <description><![CDATA[你可能知道，Javascript语言的执行环境是\&quot;单线程\&quot;（single thread）。所谓\&quot;单线程\&quot;，就是指一次只能完成一件任务。如果有多个任务，就必须排队，前面一个任务完成，再执行后面一个任务，以此类推。
这种模式的好处是实现起来比较简单，执行环境相对单纯；坏处是只要有 ...]]></description>
      <category>javascript</category>
      <author>hechengjin</author>
      <pubDate>Tue, 20 Oct 2015 08:38:53 +0000</pubDate>
    </item>
    <item>
      <title>developer.mozilla.org</title>
      <link>http://firemail.wang:8088/forum.php?mod=viewthread&amp;tid=72</link>
      <description><![CDATA[https://developer.mozilla.org]]></description>
      <category>javascript</category>
      <author>hechengjin</author>
      <pubDate>Sat, 10 Oct 2015 10:10:15 +0000</pubDate>
    </item>
    <item>
      <title>书籍：ECMAScript 6入门</title>
      <link>http://firemail.wang:8088/forum.php?mod=viewthread&amp;tid=71</link>
      <description><![CDATA[http://es6.ruanyifeng.com/]]></description>
      <category>javascript</category>
      <author>hechengjin</author>
      <pubDate>Sat, 10 Oct 2015 09:44:19 +0000</pubDate>
    </item>
    <item>
      <title>w3school</title>
      <link>http://firemail.wang:8088/forum.php?mod=viewthread&amp;tid=70</link>
      <description><![CDATA[http://www.w3school.com.cn/index.html]]></description>
      <category>javascript</category>
      <author>hechengjin</author>
      <pubDate>Sat, 10 Oct 2015 09:41:20 +0000</pubDate>
    </item>
    <item>
      <title>学习笔记1</title>
      <link>http://firemail.wang:8088/forum.php?mod=viewthread&amp;tid=67</link>
      <description><![CDATA[1.  top最上层元素 
2.js文件中引入js文件
Services.scriptloader.loadSubScript(\&quot;app://app/ui/PxLoader.js\&quot;, ctx);  同一个this指针Cu[/backcolor].import(\&quot;app://app/ui/ImagesToLoad.js\&quot;, ctx);  与上区别 this指针不一样

3.资源访问协议chrome:  可调用xpcom ...]]></description>
      <category>javascript</category>
      <author>hechengjin</author>
      <pubDate>Sat, 10 Oct 2015 03:14:45 +0000</pubDate>
    </item>
    <item>
      <title>定时器</title>
      <link>http://firemail.wang:8088/forum.php?mod=viewthread&amp;tid=53</link>
      <description><![CDATA[Interval  区间
//每过15秒执行一次
let interVal = setInterval(function() {
]]></description>
      <category>javascript</category>
      <author>hechengjin</author>
      <pubDate>Thu, 17 Sep 2015 06:23:23 +0000</pubDate>
    </item>
    <item>
      <title>改变作用域的方法 apply call</title>
      <link>http://firemail.wang:8088/forum.php?mod=viewthread&amp;tid=52</link>
      <description><![CDATA[apply
通过传入对象参数改变原函数作用域为参数作用域。
fun.apply(obj, [a,b,c]);
调用fun函数，作用域为obj，参数为a/b/c。
call
同上，不过为不定参数。
new
通过实例化，将构造函数this指针指向实例函数。


bind的作用和apply，call类似都是改变函数的ex ...]]></description>
      <category>javascript</category>
      <author>hechengjin</author>
      <pubDate>Thu, 17 Sep 2015 04:36:21 +0000</pubDate>
    </item>
    <item>
      <title>JavaScript设计模式 中文清晰扫描版PDF</title>
      <link>http://firemail.wang:8088/forum.php?mod=viewthread&amp;tid=34</link>
      <description><![CDATA[JavaScript设计模式共有两部分。第一部分给出了实现具体设计模式所需要的面向对象特性的基础知识，主要包括接口、封装和信息隐藏、继承、单体模式等内容。第二部分则专注于各种具体的设计模式及其在JavaScript语言中的应用，主要介绍了工厂模式、桥接模式、组合模式、门 ...]]></description>
      <category>javascript</category>
      <author>hechengjin</author>
      <pubDate>Fri, 11 Sep 2015 07:44:02 +0000</pubDate>
    </item>
  </channel>
</rss>