Merge pull request #380 from VueTubeApp/deepsource-fix-35385887

Removes the `new` keyword from the `String`, `Number`, `Boolean` objects
This commit is contained in:
Alex 2022-06-22 17:29:54 +12:00 committed by GitHub
commit 53082239e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ export default {
//--- Update Stored Language Value ---//
selectedLang: function (newVal) {
const langs = this.$lang(null, true);
let lang = new String();
let lang = String();
for (const i in langs) {
if (langs[i].name == newVal) {
lang = i;