mirror of
https://gitee.com/bimuziyan/ccc-obfuscated-code.git
synced 2026-05-08 12:05:58 +08:00
299 B
299 B
domain
// usage
chance.domain()
chance.domain({tld: 'com'})
Return a random domain with a random tld.
chance.domain()
=> 'onaro.net'
Optionally specify a tld and the domain will be random but the tld will not.
chance.domain({tld: 'ie'})
=> 'gotaujo.ie'