mirror of https://github.com/VueTubeApp/VueTube
Merge pull request #380 from VueTubeApp/deepsource-fix-35385887
Removes the `new` keyword from the `String`, `Number`, `Boolean` objects
This commit is contained in:
commit
53082239e5
|
@ -22,7 +22,7 @@ export default {
|
||||||
//--- Update Stored Language Value ---//
|
//--- Update Stored Language Value ---//
|
||||||
selectedLang: function (newVal) {
|
selectedLang: function (newVal) {
|
||||||
const langs = this.$lang(null, true);
|
const langs = this.$lang(null, true);
|
||||||
let lang = new String();
|
let lang = String();
|
||||||
for (const i in langs) {
|
for (const i in langs) {
|
||||||
if (langs[i].name == newVal) {
|
if (langs[i].name == newVal) {
|
||||||
lang = i;
|
lang = i;
|
||||||
|
|
Loading…
Reference in New Issue