Removes the `new` keyword from the `String`, `Number`, `Boolean` objects

This commit is contained in:
deepsource-autofix[bot] 2022-06-22 05:29:24 +00:00 committed by GitHub
parent 106fdf38e5
commit 9aeb83ee4d
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;