BogdanSav / GeekHub2020

0 stars 0 forks source link

Домашняя работа №4 - Prototype #5

Open redexp opened 4 years ago

redexp commented 4 years ago

Основная задача:

Усложнённая задача:

Дополнительная задача:

redexp commented 4 years ago

Основная задача:

Усложнённая задача:

Дополнительная задача:

Проверка на соответствие стандартам оформления кода (191 ошибок) - 'i' is not defined: `19:18`, `20:21`, `84:18`, `85:21` - 'key' is not defined: `18:14`, `20:47`, `21:42`, `26:14`, `27:38`, `30:72`, `83:14`, `85:47`, `86:42`, `91:14`, `92:38`, `95:65` - 'testArray' is never reassigned. Use 'const' instead: `132:5` - 'testString' is never reassigned. Use 'const' instead: `131:5` - Block must not be padded by blank lines: `30:79`, `32:20`, `35:10`, `39:56`, `44:24`, `95:72`, `97:20`, `100:10`, `104:49`, `108:33` - Expected indentation of 10 spaces but found 20: `21:1`, `30:1`, `86:1`, `95:1` - Expected indentation of 2 spaces but found 4: `3:1`, `4:1`, `6:1`, `7:1`, `11:1`, `12:1`, `16:1`, `17:1`, `37:1`, `42:1`, `43:1`, `44:1`, `49:1`, `50:1`, `51:1`, `52:1`, `56:1`, `60:1`, `61:1`, `62:1`, `68:1`, `69:1`, `71:1`, `72:1`, `76:1`, `77:1`, `81:1`, `82:1`, `102:1`, `107:1`, `108:1`, `114:1`, `115:1`, `116:1`, `117:1`, `121:1`, `125:1`, `126:1`, `127:1`, `133:1`, `134:1`, `135:1` - Expected indentation of 4 spaces but found 8: `8:1`, `9:1`, `10:1`, `13:1`, `14:1`, `15:1`, `18:1`, `24:1`, `25:1`, `26:1`, `35:1`, `38:1`, `41:1`, `53:1`, `55:1`, `57:1`, `59:1`, `73:1`, `74:1`, `75:1`, `78:1`, `79:1`, `80:1`, `83:1`, `89:1`, `90:1`, `91:1`, `100:1`, `103:1`, `106:1`, `118:1`, `120:1`, `122:1`, `124:1` - Expected indentation of 6 spaces but found 12: `19:1`, `23:1`, `27:1`, `34:1`, `39:1`, `54:1`, `58:1`, `84:1`, `88:1`, `92:1`, `99:1`, `104:1`, `119:1`, `123:1` - Expected indentation of 8 spaces but found 16: `20:1`, `22:1`, `28:1`, `29:1`, `32:1`, `85:1`, `87:1`, `93:1`, `94:1`, `97:1` - Function declared in a loop contains unsafe references to variable(s) 'key': `29:49`, `94:49` - Missing semicolon: `47:2`, `63:2`, `112:2`, `128:2` - Missing space before function parentheses: `2:31`, `48:34`, `67:36`, `113:39` - Missing trailing comma: `10:22`, `15:25`, `75:22`, `80:25`, `135:65` - More than 1 blank line not allowed: `46:1`, `110:1`, `130:1` - Strings must use singlequote: `4:35`, `13:17`, `14:16`, `15:21`, `50:51`, `51:27`, `54:46`, `54:54`, `58:67`, `69:35`, `78:17`, `79:16`, `80:21`, `115:51`, `116:27`, `119:46`, `119:54`, `123:67`, `131:18` - The body of a for-in should be wrapped in an if statement to filter unwanted properties from the prototype: `18:9`, `83:9` - This line has a length of 106. Maximum allowed is 100: `27:1`, `92:1` - Unary operator '++' used: `21:21`, `86:21` - Unexpected string concatenation: `54:36`, `58:36`, `119:36`, `123:36` - Unexpected unnamed function: `2:23`, `48:26`, `67:28`, `113:31` - Unnecessary semicolon: `1:18`, `65:23` - for..in loops iterate over the entire prototype chain, which is virtually never what you want. Use Object.{keys,values,entries}, and iterate over the resulting array: `18:9`, `26:9`, `83:9`, `91:9` - iterators/generators require regenerator-runtime, which is too heavyweight for this guide to allow them. Separately, loops should be avoided in favor of array iterations: `19:13`, `84:13`
redexp commented 4 years ago

Основная задача:

Усложнённая задача:

Дополнительная задача:

Проверка на соответствие стандартам оформления кода (183 ошибок) - 'i' is not defined: `19:18`, `20:21`, `84:18`, `85:21` - 'key' is not defined: `18:14`, `20:47`, `21:42`, `26:14`, `27:38`, `30:72`, `83:14`, `85:47`, `86:42`, `91:14`, `92:38`, `95:65` - 'testArray' is never reassigned. Use 'const' instead: `132:5` - 'testString' is never reassigned. Use 'const' instead: `131:5` - Block must not be padded by blank lines: `30:79`, `32:20`, `35:10`, `39:56`, `44:24`, `95:72`, `97:20`, `100:10`, `104:49`, `108:33` - Expected indentation of 10 spaces but found 20: `21:1`, `30:1`, `86:1`, `95:1` - Expected indentation of 2 spaces but found 4: `3:1`, `4:1`, `6:1`, `7:1`, `11:1`, `12:1`, `16:1`, `17:1`, `37:1`, `42:1`, `43:1`, `44:1`, `49:1`, `50:1`, `51:1`, `52:1`, `56:1`, `60:1`, `61:1`, `62:1`, `68:1`, `69:1`, `71:1`, `72:1`, `76:1`, `77:1`, `81:1`, `82:1`, `102:1`, `107:1`, `108:1`, `114:1`, `115:1`, `116:1`, `117:1`, `121:1`, `125:1`, `126:1`, `127:1`, `133:1`, `134:1`, `135:1` - Expected indentation of 4 spaces but found 8: `8:1`, `9:1`, `10:1`, `13:1`, `14:1`, `15:1`, `18:1`, `24:1`, `25:1`, `26:1`, `35:1`, `38:1`, `41:1`, `53:1`, `55:1`, `57:1`, `59:1`, `73:1`, `74:1`, `75:1`, `78:1`, `79:1`, `80:1`, `83:1`, `89:1`, `90:1`, `91:1`, `100:1`, `103:1`, `106:1`, `118:1`, `120:1`, `122:1`, `124:1` - Expected indentation of 6 spaces but found 12: `19:1`, `23:1`, `27:1`, `34:1`, `39:1`, `54:1`, `58:1`, `84:1`, `88:1`, `92:1`, `99:1`, `104:1`, `119:1`, `123:1` - Expected indentation of 8 spaces but found 16: `20:1`, `22:1`, `28:1`, `29:1`, `32:1`, `85:1`, `87:1`, `93:1`, `94:1`, `97:1` - Function declared in a loop contains unsafe references to variable(s) 'key': `29:49`, `94:49` - Missing semicolon: `47:2`, `63:2`, `112:2`, `128:2` - Missing space before function parentheses: `2:31`, `48:34`, `67:36`, `113:39` - Missing trailing comma: `10:22`, `15:25`, `75:22`, `80:25`, `135:65` - More than 1 blank line not allowed: `46:1`, `110:1`, `130:1` - Strings must use singlequote: `4:35`, `13:17`, `14:16`, `15:21`, `50:51`, `51:27`, `54:46`, `54:54`, `58:67`, `69:35`, `78:17`, `79:16`, `80:21`, `115:51`, `116:27`, `119:46`, `119:54`, `123:67`, `131:18` - The body of a for-in should be wrapped in an if statement to filter unwanted properties from the prototype: `18:9`, `83:9` - This line has a length of 106. Maximum allowed is 100: `27:1`, `92:1` - Unary operator '++' used: `21:21`, `86:21` - Unnecessary semicolon: `1:18`, `65:23` - for..in loops iterate over the entire prototype chain, which is virtually never what you want. Use Object.{keys,values,entries}, and iterate over the resulting array: `18:9`, `26:9`, `83:9`, `91:9` - iterators/generators require regenerator-runtime, which is too heavyweight for this guide to allow them. Separately, loops should be avoided in favor of array iterations: `19:13`, `84:13`
redexp commented 4 years ago

Основная задача:

Сдана успешно

Усложнённая задача:

Сдана успешно

Дополнительная задача:

Сдана успешно

Проверка на соответствие стандартам оформления кода (227 ошибок) - 'array' is already declared in the upper scope: `53:42`, `60:42` - 'i' is not defined: `19:18`, `20:21`, `90:18`, `91:21` - 'key' is not defined: `18:14`, `20:47`, `21:42`, `26:14`, `27:38`, `30:72`, `89:14`, `91:47`, `92:42`, `97:14`, `98:38`, `101:65` - 'testArray' is never reassigned. Use 'const' instead: `157:5` - 'testString' is never reassigned. Use 'const' instead: `156:5` - 'trueString' is never reassigned. Use 'const' instead: `162:5` - Block must not be padded by blank lines: `30:79`, `32:20`, `35:10`, `39:56`, `44:24`, `56:58`, `63:77`, `102:39`, `104:20`, `107:10`, `111:49`, `115:33`, `120:59`, `128:58`, `135:77`, `148:35` - Expected '===' and instead saw '==': `147:36`, `147:69` - Expected exception block, space or tab after '//' in comment: `155:1`, `163:1` - Expected indentation of 10 spaces but found 20: `21:1`, `30:1`, `92:1`, `101:1`, `102:1` - Expected indentation of 2 spaces but found 4: `3:1`, `4:1`, `6:1`, `7:1`, `11:1`, `12:1`, `16:1`, `17:1`, `37:1`, `42:1`, `43:1`, `44:1`, `49:1`, `50:1`, `51:1`, `52:1`, `59:1`, `66:1`, `67:1`, `68:1`, `74:1`, `75:1`, `77:1`, `78:1`, `82:1`, `83:1`, `87:1`, `88:1`, `109:1`, `114:1`, `115:1`, `122:1`, `123:1`, `124:1`, `131:1`, `138:1`, `139:1`, `140:1`, `143:1`, `144:1`, `145:1`, `152:1`, `158:1`, `159:1`, `160:1` - Expected indentation of 4 spaces but found 8: `8:1`, `9:1`, `10:1`, `13:1`, `14:1`, `15:1`, `18:1`, `24:1`, `25:1`, `26:1`, `35:1`, `38:1`, `41:1`, `53:1`, `58:1`, `60:1`, `65:1`, `79:1`, `80:1`, `81:1`, `84:1`, `85:1`, `86:1`, `89:1`, `95:1`, `96:1`, `97:1`, `107:1`, `110:1`, `113:1`, `125:1`, `130:1`, `132:1`, `137:1`, `146:1`, `151:1` - Expected indentation of 6 spaces but found 12: `19:1`, `23:1`, `27:1`, `34:1`, `39:1`, `54:1`, `56:1`, `61:1`, `63:1`, `90:1`, `94:1`, `98:1`, `106:1`, `111:1`, `126:1`, `128:1`, `133:1`, `135:1`, `147:1`, `150:1` - Expected indentation of 8 spaces but found 16: `20:1`, `22:1`, `28:1`, `29:1`, `32:1`, `55:1`, `62:1`, `91:1`, `93:1`, `99:1`, `100:1`, `104:1`, `127:1`, `134:1`, `148:1` - Function declared in a loop contains unsafe references to variable(s) 'key': `29:49`, `100:49` - Missing space before function parentheses: `2:31`, `48:34`, `73:36`, `120:39`, `142:38` - Missing trailing comma: `10:22`, `15:25`, `81:22`, `86:25`, `160:68` - More than 1 blank line not allowed: `46:1`, `117:1` - Strings must use singlequote: `4:35`, `13:17`, `14:16`, `15:21`, `50:51`, `51:27`, `55:50`, `55:57`, `56:53`, `62:76`, `75:35`, `84:17`, `85:16`, `86:21`, `122:51`, `123:27`, `127:50`, `127:57`, `128:53`, `134:76`, `144:21`, `156:18`, `158:6`, `158:24`, `158:46`, `158:64`, `159:6`, `159:25`, `159:36`, `159:57`, `160:6`, `160:25`, `160:46`, `160:56`, `162:18` - The body of a for-in should be wrapped in an if statement to filter unwanted properties from the prototype: `18:9`, `89:9` - This line has a length of 106. Maximum allowed is 100: `27:1`, `98:1` - Unary operator '++' used: `21:21`, `92:21`, `145:38`, `146:45` - Unnecessary semicolon: `1:18`, `71:23` - for..in loops iterate over the entire prototype chain, which is virtually never what you want. Use Object.{keys,values,entries}, and iterate over the resulting array: `18:9`, `26:9`, `89:9`, `97:9` - iterators/generators require regenerator-runtime, which is too heavyweight for this guide to allow them. Separately, loops should be avoided in favor of array iterations: `19:13`, `90:13`
redexp commented 4 years ago

Основная задача:

Сдана успешно

Усложнённая задача:

Сдана успешно

Дополнительная задача:

Сдана успешно

Проверка на соответствие стандартам оформления кода (227 ошибок) - 'array' is already declared in the upper scope: `53:42`, `60:42` - 'i' is not defined: `19:18`, `20:21`, `90:18`, `91:21` - 'key' is not defined: `18:14`, `20:47`, `21:42`, `26:14`, `27:38`, `30:72`, `89:14`, `91:47`, `92:42`, `97:14`, `98:38`, `101:65` - 'testArray' is never reassigned. Use 'const' instead: `157:5` - 'testString' is never reassigned. Use 'const' instead: `156:5` - 'trueString' is never reassigned. Use 'const' instead: `162:5` - Block must not be padded by blank lines: `30:79`, `32:20`, `35:10`, `39:56`, `44:24`, `56:58`, `63:77`, `102:39`, `104:20`, `107:10`, `111:49`, `115:33`, `120:59`, `128:58`, `135:77`, `148:35` - Expected '===' and instead saw '==': `147:36`, `147:69` - Expected exception block, space or tab after '//' in comment: `155:1`, `163:1` - Expected indentation of 10 spaces but found 20: `21:1`, `30:1`, `92:1`, `101:1`, `102:1` - Expected indentation of 2 spaces but found 4: `3:1`, `4:1`, `6:1`, `7:1`, `11:1`, `12:1`, `16:1`, `17:1`, `37:1`, `42:1`, `43:1`, `44:1`, `49:1`, `50:1`, `51:1`, `52:1`, `59:1`, `66:1`, `67:1`, `68:1`, `74:1`, `75:1`, `77:1`, `78:1`, `82:1`, `83:1`, `87:1`, `88:1`, `109:1`, `114:1`, `115:1`, `122:1`, `123:1`, `124:1`, `131:1`, `138:1`, `139:1`, `140:1`, `143:1`, `144:1`, `145:1`, `152:1`, `158:1`, `159:1`, `160:1` - Expected indentation of 4 spaces but found 8: `8:1`, `9:1`, `10:1`, `13:1`, `14:1`, `15:1`, `18:1`, `24:1`, `25:1`, `26:1`, `35:1`, `38:1`, `41:1`, `53:1`, `58:1`, `60:1`, `65:1`, `79:1`, `80:1`, `81:1`, `84:1`, `85:1`, `86:1`, `89:1`, `95:1`, `96:1`, `97:1`, `107:1`, `110:1`, `113:1`, `125:1`, `130:1`, `132:1`, `137:1`, `146:1`, `151:1` - Expected indentation of 6 spaces but found 12: `19:1`, `23:1`, `27:1`, `34:1`, `39:1`, `54:1`, `56:1`, `61:1`, `63:1`, `90:1`, `94:1`, `98:1`, `106:1`, `111:1`, `126:1`, `128:1`, `133:1`, `135:1`, `147:1`, `150:1` - Expected indentation of 8 spaces but found 16: `20:1`, `22:1`, `28:1`, `29:1`, `32:1`, `55:1`, `62:1`, `91:1`, `93:1`, `99:1`, `100:1`, `104:1`, `127:1`, `134:1`, `148:1` - Function declared in a loop contains unsafe references to variable(s) 'key': `29:49`, `100:49` - Missing space before function parentheses: `2:31`, `48:34`, `73:36`, `120:39`, `142:38` - Missing trailing comma: `10:22`, `15:25`, `81:22`, `86:25`, `160:68` - More than 1 blank line not allowed: `46:1`, `117:1` - Strings must use singlequote: `4:35`, `13:17`, `14:16`, `15:21`, `50:51`, `51:27`, `55:50`, `55:57`, `56:53`, `62:76`, `75:35`, `84:17`, `85:16`, `86:21`, `122:51`, `123:27`, `127:50`, `127:57`, `128:53`, `134:76`, `144:21`, `156:18`, `158:6`, `158:24`, `158:46`, `158:64`, `159:6`, `159:25`, `159:36`, `159:57`, `160:6`, `160:25`, `160:46`, `160:56`, `162:18` - The body of a for-in should be wrapped in an if statement to filter unwanted properties from the prototype: `18:9`, `89:9` - This line has a length of 106. Maximum allowed is 100: `27:1`, `98:1` - Unary operator '++' used: `21:21`, `92:21`, `145:38`, `146:45` - Unnecessary semicolon: `1:18`, `71:23` - for..in loops iterate over the entire prototype chain, which is virtually never what you want. Use Object.{keys,values,entries}, and iterate over the resulting array: `18:9`, `26:9`, `89:9`, `97:9` - iterators/generators require regenerator-runtime, which is too heavyweight for this guide to allow them. Separately, loops should be avoided in favor of array iterations: `19:13`, `90:13`
redexp commented 4 years ago

Основная задача:

Сдана успешно

Усложнённая задача:

Сдана успешно

Дополнительная задача:

Сдана успешно

Проверка на соответствие стандартам оформления кода (227 ошибок) - 'array' is already declared in the upper scope: `53:42`, `60:42` - 'i' is not defined: `19:18`, `20:21`, `90:18`, `91:21` - 'key' is not defined: `18:14`, `20:47`, `21:42`, `26:14`, `27:38`, `30:72`, `89:14`, `91:47`, `92:42`, `97:14`, `98:38`, `101:65` - 'testArray' is never reassigned. Use 'const' instead: `157:5` - 'testString' is never reassigned. Use 'const' instead: `156:5` - 'trueString' is never reassigned. Use 'const' instead: `162:5` - Block must not be padded by blank lines: `30:79`, `32:20`, `35:10`, `39:56`, `44:24`, `56:58`, `63:77`, `102:39`, `104:20`, `107:10`, `111:49`, `115:33`, `120:59`, `128:58`, `135:77`, `148:35` - Expected '===' and instead saw '==': `147:36`, `147:69` - Expected exception block, space or tab after '//' in comment: `155:1`, `163:1` - Expected indentation of 10 spaces but found 20: `21:1`, `30:1`, `92:1`, `101:1`, `102:1` - Expected indentation of 2 spaces but found 4: `3:1`, `4:1`, `6:1`, `7:1`, `11:1`, `12:1`, `16:1`, `17:1`, `37:1`, `42:1`, `43:1`, `44:1`, `49:1`, `50:1`, `51:1`, `52:1`, `59:1`, `66:1`, `67:1`, `68:1`, `74:1`, `75:1`, `77:1`, `78:1`, `82:1`, `83:1`, `87:1`, `88:1`, `109:1`, `114:1`, `115:1`, `122:1`, `123:1`, `124:1`, `131:1`, `138:1`, `139:1`, `140:1`, `143:1`, `144:1`, `145:1`, `152:1`, `158:1`, `159:1`, `160:1` - Expected indentation of 4 spaces but found 8: `8:1`, `9:1`, `10:1`, `13:1`, `14:1`, `15:1`, `18:1`, `24:1`, `25:1`, `26:1`, `35:1`, `38:1`, `41:1`, `53:1`, `58:1`, `60:1`, `65:1`, `79:1`, `80:1`, `81:1`, `84:1`, `85:1`, `86:1`, `89:1`, `95:1`, `96:1`, `97:1`, `107:1`, `110:1`, `113:1`, `125:1`, `130:1`, `132:1`, `137:1`, `146:1`, `151:1` - Expected indentation of 6 spaces but found 12: `19:1`, `23:1`, `27:1`, `34:1`, `39:1`, `54:1`, `56:1`, `61:1`, `63:1`, `90:1`, `94:1`, `98:1`, `106:1`, `111:1`, `126:1`, `128:1`, `133:1`, `135:1`, `147:1`, `150:1` - Expected indentation of 8 spaces but found 16: `20:1`, `22:1`, `28:1`, `29:1`, `32:1`, `55:1`, `62:1`, `91:1`, `93:1`, `99:1`, `100:1`, `104:1`, `127:1`, `134:1`, `148:1` - Function declared in a loop contains unsafe references to variable(s) 'key': `29:49`, `100:49` - Missing space before function parentheses: `2:31`, `48:34`, `73:36`, `120:39`, `142:38` - Missing trailing comma: `10:22`, `15:25`, `81:22`, `86:25`, `160:68` - More than 1 blank line not allowed: `46:1`, `117:1` - Strings must use singlequote: `4:35`, `13:17`, `14:16`, `15:21`, `50:51`, `51:27`, `55:50`, `55:57`, `56:53`, `62:76`, `75:35`, `84:17`, `85:16`, `86:21`, `122:51`, `123:27`, `127:50`, `127:57`, `128:53`, `134:76`, `144:21`, `156:18`, `158:6`, `158:24`, `158:46`, `158:64`, `159:6`, `159:25`, `159:36`, `159:57`, `160:6`, `160:25`, `160:46`, `160:56`, `162:18` - The body of a for-in should be wrapped in an if statement to filter unwanted properties from the prototype: `18:9`, `89:9` - This line has a length of 106. Maximum allowed is 100: `27:1`, `98:1` - Unary operator '++' used: `21:21`, `92:21`, `145:38`, `146:45` - Unnecessary semicolon: `1:18`, `71:23` - for..in loops iterate over the entire prototype chain, which is virtually never what you want. Use Object.{keys,values,entries}, and iterate over the resulting array: `18:9`, `26:9`, `89:9`, `97:9` - iterators/generators require regenerator-runtime, which is too heavyweight for this guide to allow them. Separately, loops should be avoided in favor of array iterations: `19:13`, `90:13`
redexp commented 4 years ago

Основная задача:

Сдана успешно

Усложнённая задача:

Сдана успешно

Дополнительная задача:

Сдана успешно

Проверка на соответствие стандартам оформления кода (227 ошибок) - 'array' is already declared in the upper scope: `53:42`, `60:42` - 'i' is not defined: `19:18`, `20:21`, `90:18`, `91:21` - 'key' is not defined: `18:14`, `20:47`, `21:42`, `26:14`, `27:38`, `30:72`, `89:14`, `91:47`, `92:42`, `97:14`, `98:38`, `101:65` - 'testArray' is never reassigned. Use 'const' instead: `157:5` - 'testString' is never reassigned. Use 'const' instead: `156:5` - 'trueString' is never reassigned. Use 'const' instead: `162:5` - Block must not be padded by blank lines: `30:79`, `32:20`, `35:10`, `39:56`, `44:24`, `56:58`, `63:77`, `102:39`, `104:20`, `107:10`, `111:49`, `115:33`, `120:59`, `128:58`, `135:77`, `148:35` - Expected '===' and instead saw '==': `147:36`, `147:69` - Expected exception block, space or tab after '//' in comment: `155:1`, `163:1` - Expected indentation of 10 spaces but found 20: `21:1`, `30:1`, `92:1`, `101:1`, `102:1` - Expected indentation of 2 spaces but found 4: `3:1`, `4:1`, `6:1`, `7:1`, `11:1`, `12:1`, `16:1`, `17:1`, `37:1`, `42:1`, `43:1`, `44:1`, `49:1`, `50:1`, `51:1`, `52:1`, `59:1`, `66:1`, `67:1`, `68:1`, `74:1`, `75:1`, `77:1`, `78:1`, `82:1`, `83:1`, `87:1`, `88:1`, `109:1`, `114:1`, `115:1`, `122:1`, `123:1`, `124:1`, `131:1`, `138:1`, `139:1`, `140:1`, `143:1`, `144:1`, `145:1`, `152:1`, `158:1`, `159:1`, `160:1` - Expected indentation of 4 spaces but found 8: `8:1`, `9:1`, `10:1`, `13:1`, `14:1`, `15:1`, `18:1`, `24:1`, `25:1`, `26:1`, `35:1`, `38:1`, `41:1`, `53:1`, `58:1`, `60:1`, `65:1`, `79:1`, `80:1`, `81:1`, `84:1`, `85:1`, `86:1`, `89:1`, `95:1`, `96:1`, `97:1`, `107:1`, `110:1`, `113:1`, `125:1`, `130:1`, `132:1`, `137:1`, `146:1`, `151:1` - Expected indentation of 6 spaces but found 12: `19:1`, `23:1`, `27:1`, `34:1`, `39:1`, `54:1`, `56:1`, `61:1`, `63:1`, `90:1`, `94:1`, `98:1`, `106:1`, `111:1`, `126:1`, `128:1`, `133:1`, `135:1`, `147:1`, `150:1` - Expected indentation of 8 spaces but found 16: `20:1`, `22:1`, `28:1`, `29:1`, `32:1`, `55:1`, `62:1`, `91:1`, `93:1`, `99:1`, `100:1`, `104:1`, `127:1`, `134:1`, `148:1` - Function declared in a loop contains unsafe references to variable(s) 'key': `29:49`, `100:49` - Missing space before function parentheses: `2:31`, `48:34`, `73:36`, `120:39`, `142:38` - Missing trailing comma: `10:22`, `15:25`, `81:22`, `86:25`, `160:68` - More than 1 blank line not allowed: `46:1`, `117:1` - Strings must use singlequote: `4:35`, `13:17`, `14:16`, `15:21`, `50:51`, `51:27`, `55:50`, `55:57`, `56:53`, `62:76`, `75:35`, `84:17`, `85:16`, `86:21`, `122:51`, `123:27`, `127:50`, `127:57`, `128:53`, `134:76`, `144:21`, `156:18`, `158:6`, `158:24`, `158:46`, `158:64`, `159:6`, `159:25`, `159:36`, `159:57`, `160:6`, `160:25`, `160:46`, `160:56`, `162:18` - The body of a for-in should be wrapped in an if statement to filter unwanted properties from the prototype: `18:9`, `89:9` - This line has a length of 106. Maximum allowed is 100: `27:1`, `98:1` - Unary operator '++' used: `21:21`, `92:21`, `145:38`, `146:45` - Unnecessary semicolon: `1:18`, `71:23` - for..in loops iterate over the entire prototype chain, which is virtually never what you want. Use Object.{keys,values,entries}, and iterate over the resulting array: `18:9`, `26:9`, `89:9`, `97:9` - iterators/generators require regenerator-runtime, which is too heavyweight for this guide to allow them. Separately, loops should be avoided in favor of array iterations: `19:13`, `90:13`