[add] script
[add] HoldButton
This commit is contained in:
		@@ -4,6 +4,8 @@ declare interface Array<T> {
 | 
			
		||||
     * @param index
 | 
			
		||||
     */
 | 
			
		||||
    ExRemoveAt(index: number): T;
 | 
			
		||||
    /** 移除全部值 */
 | 
			
		||||
    Clear(): void;
 | 
			
		||||
    /**
 | 
			
		||||
     * 物件陣列排序,asc&key陣列長度請一樣
 | 
			
		||||
     * PS. boolean 帶false是先true在false
 | 
			
		||||
@@ -22,6 +24,13 @@ Array.prototype.ExRemoveAt || Object.defineProperty(Array.prototype, "ExRemoveAt
 | 
			
		||||
    }
 | 
			
		||||
});
 | 
			
		||||
 | 
			
		||||
Array.prototype.Clear || Object.defineProperty(Array.prototype, "Clear", {
 | 
			
		||||
    enumerable: false,
 | 
			
		||||
    value: function (): void {
 | 
			
		||||
        this.length = 0;
 | 
			
		||||
    }
 | 
			
		||||
});
 | 
			
		||||
 | 
			
		||||
Array.prototype.ObjectSort || Object.defineProperty(Array.prototype, "ObjectSort", {
 | 
			
		||||
    enumerable: false,
 | 
			
		||||
    /**
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user