Javascript Singleton Pattern Sep 20th, 2014 11:21 pm | Comments Javascript 的單例模式確保對象在全域環境下只會有一個實例。 使用全域變數實現 使用閉包 重寫 Constructor 構造函數