sanex3339 9 năm trước cách đây
mục cha
commit
ce100ec74a
1 tập tin đã thay đổi với 3 bổ sung5 xóa
  1. 3 5
      src/Obfuscator.ts

+ 3 - 5
src/Obfuscator.ts

@@ -47,15 +47,13 @@ export class Obfuscator {
     /**
      * @type any
      */
-    private options: any = {
-        rotateUnicodeArray: true
-    };
+    private options: any;
 
     /**
      * @param options
      */
-    constructor (options: any) {
-        Object.assign(this.options, options);
+    constructor (options: any = {}) {
+        this.options = options;
     }
 
     /**