mirror of https://github.com/VueTubeApp/VueTube
Removes the `new` keyword from the `String`, `Number`, `Boolean` objects
This commit is contained in:
parent
106fdf38e5
commit
9aeb83ee4d
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue