aboutsummaryrefslogtreecommitdiff
path: root/src/modules/finance/index.ts
diff options
context:
space:
mode:
authorShinigami <[email protected]>2023-10-17 22:03:32 +0200
committerGitHub <[email protected]>2023-10-17 20:03:32 +0000
commitc0330442be99988db57e9dad12ebdcd3b3a92213 (patch)
tree49a7814ef2a3b3a05b147e8be790c4712ef414e8 /src/modules/finance/index.ts
parentf3de0f61dc517a4548150fd40498a9df6d4b97e6 (diff)
downloadfaker-c0330442be99988db57e9dad12ebdcd3b3a92213.tar.xz
faker-c0330442be99988db57e9dad12ebdcd3b3a92213.zip
infra(unicorn): prefer-spread (#2421)
Co-authored-by: ST-DDT <[email protected]>
Diffstat (limited to 'src/modules/finance/index.ts')
-rw-r--r--src/modules/finance/index.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/finance/index.ts b/src/modules/finance/index.ts
index 43cd16a1..ce4b2889 100644
--- a/src/modules/finance/index.ts
+++ b/src/modules/finance/index.ts
@@ -722,9 +722,9 @@ export class FinanceModule {
let address = this.faker.helpers.arrayElement(['L', 'M', '3']);
for (let i = 0; i < addressLength - 1; i++)
- address += this.faker.helpers.arrayElement(
- '123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ'.split('')
- );
+ address += this.faker.helpers.arrayElement([
+ ...'123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ',
+ ]);
return address;
}