0
0
Fork 0
mirror of https://github.com/VueTubeApp/VueTube synced 2024-11-25 20:55:17 +00:00

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

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;