()
| 1462 | enableJava () { return utils.isCodeCombat && (this.hasSubscription() || this.isStudent() || this.isTeacher()) } |
| 1463 | |
| 1464 | getEnabledLanguages () { |
| 1465 | const languages = ['javascript', 'python'] |
| 1466 | if (this.enableCpp()) { languages.push('cpp') } |
| 1467 | if (this.enableJava()) { languages.push('java') } |
| 1468 | return languages |
| 1469 | } |
| 1470 | |
| 1471 | useQiyukf () { return false } |
| 1472 | useChinaServices () { return features?.china != null ? features?.china : false } |
nothing calls this directly
no test coverage detected