computer:program:js
這是本文件的舊版!
目錄表
JavaScript
-
- Simple JavaScript Inheritance
http://ejohn.org/blog/simple-javascript-inheritance/ - DOM 的集合 (collection) 不等於陣列 (array)
http://www.hkpug.net/node/244
XHTML裡的使用
主要是注意註解符號
<!-- <![CDTA[ var abc = "<" + "/"; alert(abc + "script>"); // ]]> -->
或是
<script type="text/javascript"> //<![CDATA[ alert('Hello world!'); //]]> </script>
AJAX(待移除)
- 4 ways to dynamically load external JavaScript
http://ntt.cc/2008/02/10/4-ways-to-dynamically-load-external-javascriptwith-source.html -
Variable
String
Object
Array
Array.apply(null, {length: 5}).map(Number.prototype.valueOf, 0);
[...Array(10 + 1).keys()].slice(1)
Map
Set
Function
Constructor
Callback
Regex
Operator
Intl
Module
Event
Promise
Iterators
Generators
Symbol
Reflect
Proxy
Decorator
HTML5 (待清理)
Canvas (已有[[computer:web:canvas]],須搬移)
ECMAScript 6(待清理)
教學
測試
守則
架構
模式
範例
書籍
課程
資源
練習
技巧
try { console.group('something'); // or console.groupCollapsed() // someting here } finally { console.groupEnd('something'); }
console.log(new Error().stack);
效能
元件
-
-
-
-
-
-
-
-
- Reflection.js
http://cow.neondragon.net/stuff/reflection/ -
-
-
- Strophe (XMPP)
-
-
- quaggaJS (Barcode)
- bwip-js (Barcode)
Functional
OOP
Selector
Flow Control
Regular Expression
AJAX
DOM
Route
Diff
String
SEO
地圖
介面
展示
表單
影音
遊戲
物理
閱讀
模板
載入
-
- Squire.js (Dependency Injector)
-
-
模組
儲存
事件
交易
基模
時間
繪圖
動畫
圖表
排版
直書
字型
翻譯
組成
狀態
擴充
- Monio (IO Monad)
-
-
-
搜尋
色彩
樣式
檔案
分析
測試
涵蓋
效能
填充
工具
Functional
Quality
Parser
JSON
JSONP
GeoJSON
JMAP
工具
echo '{"first_key": "value", "second_key": "value2"}' | python3 -m json.tool
Formatter
Compressor
Bundler
Transpiler
Interpreter
Runtime
Package
Manager
Documentation
應用
computer/program/js.1744703018.txt.gz · 上一次變更: 2025/04/15 07:43 由 wm
