diff --git a/src/libs/get-unique-name.ts b/src/libs/get-unique-name.ts index 4a1da4e..f1af9d8 100644 --- a/src/libs/get-unique-name.ts +++ b/src/libs/get-unique-name.ts @@ -116,6 +116,7 @@ const RESERVED_WORDS = new Set([ 'length', 'location', 'locationbar', + 'Map', 'Math', 'menubar', 'moveBy', @@ -148,6 +149,7 @@ const RESERVED_WORDS = new Set([ 'scrollBy', 'scrollTo', 'self', + 'Set', 'setInterval', 'setTimeout', 'status', @@ -162,8 +164,8 @@ const RESERVED_WORDS = new Set([ 'valueOf', 'watch', 'window', - // Typescript + // Typescript 'as', 'implements', 'interface',