haterapps / fake-data

Fake Data - A form filler you won't hate
39 stars 2 forks source link

How to same custom Phone number to fill form? #6

Closed jitendravyas closed 3 years ago

jitendravyas commented 3 years ago

What to write in JS field?

I want to use my number always as +9196860000 last 4 digits of the phone number should be changed every time

haterapps commented 3 years ago

Hello,

You could use the following JS code:

return '+919686' + faker.random.number({min: 1000, max: 9999});